On the same codebase whatever I do (like adding an invariant or a if_succeeds statement) I keep getting Javascript Maximum call stack size exceeded errors.
Two kinds in particular:
- The first seems to be inside type checking:
Internal error in type-checking: Maximum call stack size exceeded
- The seconds seems to be around recursive imports:
/Users/alex/Projects/scribble/dist/bin/scribble.js:494
throw e;
^
RangeError: Maximum call stack size exceeded
at ImportDirective.get vSymbolAliases [as vSymbolAliases] (/Users/alex/Projects/scribble/node_modules/solc-typed-ast/dist/ast/implementation/meta/import_directive.js:55:45)
at lookupInSourceUnit (/Users/alex/Projects/scribble/node_modules/solc-typed-ast/dist/ast/definitions.js:101:28)
at lookupInSourceUnit.next (<anonymous>)
at new Set (<anonymous>)
at lookupInScope (/Users/alex/Projects/scribble/node_modules/solc-typed-ast/dist/ast/definitions.js:229:12)
at lookupInSourceUnit (/Users/alex/Projects/scribble/node_modules/solc-typed-ast/dist/ast/definitions.js:104:35)
at lookupInSourceUnit.next (<anonymous>)
at new Set (<anonymous>)
at lookupInScope (/Users/alex/Projects/scribble/node_modules/solc-typed-ast/dist/ast/definitions.js:229:12)
at lookupInSourceUnit (/Users/alex/Projects/scribble/node_modules/solc-typed-ast/dist/ast/definitions.js:104:35)
(It is a local install of 912a472)
I think the second case may be connected to #64.
I tried for a quite bit of time create a reduced example, but can't really spend too many hours on it. @cd1m0 do you have any idea based on the above?
On the same codebase whatever I do (like adding an
invariantor aif_succeedsstatement) I keep getting Javascript Maximum call stack size exceeded errors.Two kinds in particular:
(It is a local install of 912a472)
I think the second case may be connected to #64.
I tried for a quite bit of time create a reduced example, but can't really spend too many hours on it. @cd1m0 do you have any idea based on the above?