aboutsummaryrefslogtreecommitdiff
path: root/cs/types.cs
diff options
context:
space:
mode:
Diffstat (limited to 'cs/types.cs')
-rw-r--r--cs/types.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/cs/types.cs b/cs/types.cs
index 34985ad..b49adb6 100644
--- a/cs/types.cs
+++ b/cs/types.cs
@@ -19,10 +19,11 @@ namespace Mal {
// Thrown by throw function
public class MalException : MalThrowable {
MalVal value;
+ //string Message;
public MalException(MalVal value) {
this.value = value;
}
- public MalException(string value) {
+ public MalException(string value) :base(value) {
this.value = new MalString(value);
}
public MalVal getValue() { return value; }