Skip to content
This repository
Browse code

Fixed UserError to show error messages.

  • Loading branch information...
commit 940099d8299ca6f103690bdef0211ef0bcf79f57 1 parent 391283c
John Gietzen authored July 09, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  Src/IronJS.Runtime/Errors.cs
2  Src/IronJS.Runtime/Errors.cs
@@ -81,7 +81,7 @@ public class UserError : Error
81 81
         public int Column { get; private set; }
82 82
 
83 83
         public UserError(BoxedValue value, int line, int column)
84  
-            : base("") //TODO: Call TypeConverter.ToString on Value
  84
+            : base(TypeConverter.ToString(value))
85 85
         {
86 86
             Value = value;
87 87
             Line = line;

0 notes on commit 940099d

Please sign in to comment.
Something went wrong with that request. Please try again.