nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e3bc41a
)
niti: make `catch_count` writable
author
Jean Privat
<jean@pryen.org>
Mon, 24 Apr 2017 20:00:24 +0000
(16:00 -0400)
committer
Jean Privat
<jean@pryen.org>
Tue, 25 Apr 2017 16:46:55 +0000
(12:46 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>
src/interpreter/naive_interpreter.nit
patch
|
blob
|
history
diff --git
a/src/interpreter/naive_interpreter.nit
b/src/interpreter/naive_interpreter.nit
index
7b22a58
..
eced30f
100644
(file)
--- a/
src/interpreter/naive_interpreter.nit
+++ b/
src/interpreter/naive_interpreter.nit
@@
-119,7
+119,7
@@
class NaiveInterpreter
var escapemark: nullable EscapeMark = null
# The count of `catch` blocs that have been encountered and can catch an abort
- var catch_count = 0
+ var catch_count = 0 is writable
# The last error thrown on abort/runtime error where catch_count > 0
var last_error: nullable FatalError = null