Skip to content

Commit

Permalink
Disable p6exceptions until they are properly fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
sorear committed Jul 20, 2010
1 parent 1789938 commit bd00700
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Kernel.cs
Expand Up @@ -388,10 +388,12 @@ public class Kernel {
}

public static Frame Die(Frame caller, string msg) {
Frame f = new Frame(caller, null, new DynBlockDelegate(ThrowC));
f.pos = new LValue[1] { new LValue(true, false, new CLRImportObject(msg)) };
f.named = null;
return f;
// TODO: Unbreak p6exceptions
throw new Exception(msg);
//Frame f = new Frame(caller, null, new DynBlockDelegate(ThrowC));
//f.pos = new LValue[1] { new LValue(true, false, new CLRImportObject(msg)) };
//f.named = null;
//return f;
}

// Needs more special handling for control exceptions.
Expand Down

0 comments on commit bd00700

Please sign in to comment.