Skip to content

Commit

Permalink
Fixed UserError to show error messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
otac0n committed Jul 9, 2011
1 parent 391283c commit 940099d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/IronJS.Runtime/Errors.cs
Expand Up @@ -81,7 +81,7 @@ public class UserError : Error
public int Column { get; private set; }

public UserError(BoxedValue value, int line, int column)
: base("") //TODO: Call TypeConverter.ToString on Value
: base(TypeConverter.ToString(value))
{
Value = value;
Line = line;
Expand Down

0 comments on commit 940099d

Please sign in to comment.