mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-13 09:49:11 +03:00
Avoid stack overflow in the compiler
(reverting this reproduces a stack overflow in the compiler!)
This commit is contained in:
parent
5a9d76e16f
commit
f81fbabf12
@ -8,7 +8,9 @@ Elem state :
|
||||
Text Str,
|
||||
Col (List (Elem state)),
|
||||
Row (List (Elem state)),
|
||||
Lazy (Result (Cached state) [ NotCached ] -> Cached state),
|
||||
Lazy (Result { state, elem : Elem state } [ NotCached ] -> { state, elem : Elem state }),
|
||||
# TODO FIXME: using this definition of Lazy causes a stack overflow in the compiler!
|
||||
#Lazy (Result (Cached state) [ NotCached ] -> Cached state),
|
||||
None,
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user