Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed UserError to show error messages.

  • Loading branch information...
commit 940099d8299ca6f103690bdef0211ef0bcf79f57 1 parent 391283c
@otac0n otac0n authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Src/IronJS.Runtime/Errors.cs
View
2  Src/IronJS.Runtime/Errors.cs
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.