diff options
Diffstat (limited to 'compiler/ast.nim')
-rw-r--r-- | compiler/ast.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/ast.nim b/compiler/ast.nim index 00fe3b246..ae1b34fd9 100644 --- a/compiler/ast.nim +++ b/compiler/ast.nim @@ -435,6 +435,8 @@ type tfUnresolved, # marks unresolved typedesc/static params: e.g. # proc foo(T: typedesc, list: seq[T]): var T # proc foo(L: static[int]): array[L, int] + # can be attached to ranges to indicate that the range + # depends on unresolved static params. tfRetType, # marks return types in proc (used to detect type classes # used as return types for return type inference) tfCapturesEnv, # whether proc really captures some environment |