tracking module integrity when module composition changes
This commit is contained in:
1 parent
f8c3de21d3
commit
06c9aea326
7 files changed
+47
-26
No files matched your search
@@ -16,6 +16,7 @@ import carpet.script.exception.BreakStatement;
|
||||
import carpet.script.exception.ContinueStatement;
|
||||
import carpet.script.exception.ExitStatement;
|
||||
import carpet.script.exception.ExpressionException;
|
||||
import carpet.script.exception.IntegrityException;
|
||||
import carpet.script.exception.InternalExpressionException;
|
||||
import carpet.script.exception.ResolvedException;
|
||||
import carpet.script.exception.ReturnStatement;
|
||||
@@ -267,6 +268,8 @@ public class Expression
|
||||
{
|
||||
if (exc instanceof ExitStatement)
|
||||
return exc;
|
||||
if (exc instanceof IntegrityException)
|
||||
return exc;
|
||||
if (exc instanceof InternalExpressionException)
|
||||
return ((InternalExpressionException) exc).promote(c, e, token);
|
||||
if (exc instanceof ArithmeticException)
|
||||
|
||||
Reference in new issue
Block a user