summary refs log tree commit diff stats
path: root/compiler/ast.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2020-06-06 21:28:46 +0200
committerGitHub <noreply@github.com>2020-06-06 21:28:46 +0200
commit32083c7ff88c46b81c30df95ff5c81c57935bc23 (patch)
tree35c13e5c0548921e78aa90d1ef22516e01f9196d /compiler/ast.nim
parent4fdf9cb808db9251feb1c23652da6141ce111437 (diff)
downloadNim-32083c7ff88c46b81c30df95ff5c81c57935bc23.tar.gz
more precise analysis about 'observable stores' [backport:1.2] (#14582)
Diffstat (limited to 'compiler/ast.nim')
-rw-r--r--compiler/ast.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/ast.nim b/compiler/ast.nim
index d13487e9c..76b1d8c91 100644
--- a/compiler/ast.nim
+++ b/compiler/ast.nim
@@ -293,6 +293,7 @@ type
     sfInjectDestructors # whether the proc needs the 'injectdestructors' transformation
     sfNeverRaises     # proc can never raise an exception, not even OverflowDefect
                       # or out-of-memory
+    sfUsedInFinallyOrExcept  # symbol is used inside an 'except' or 'finally'
 
   TSymFlags* = set[TSymFlag]