hegel icon indicating copy to clipboard operation
hegel copied to clipboard

Maximum call stack size exceeded when running on `@hegel/core`

Open Raynos opened this issue 5 years ago • 3 comments

cd ./packages/core
node ../cli/build/index.js

Prints Maximum call stack size exceeded

Raynos avatar May 24 '20 14:05 Raynos

Currently @hegel/core doesn't use Hegel itself. Only @hegel/cli uses Hegel for now. We have a lot of additional work for rewriting core in Hegel. Thank you for the question ^_^.

JSMonk avatar May 24 '20 14:05 JSMonk

Currently @hegel/core doesn't use Hegel itself.

I understand, but to get @hegel/core to use hegel it would be great if hegel CLI outputted 50 type errors instead of Maximum call stack reached

This is still a bug as hegel should not print Maximum call stack reached.

I also had many infinite recursion type checker errors :cry: cycles are hard.

Raynos avatar May 24 '20 15:05 Raynos

Yes, It's true. I will try to find the error. Thank you a lot, you really help us.

JSMonk avatar May 24 '20 16:05 JSMonk