Closed BrianHicks closed 7 years ago
Hi! Can you provide an Elm file or sample project? :grinning: You can also try to upgrade to the latest version first. Another infinite recursion case was fixed in v3.5.1. It may be related to what you're encountering. Thanks!
Hmm.. I used the stack trace you provided to find out which function got called. Looks like it's similar to the resolved issue in v3.5.1 (you're using v3.5.0 based on the diagnostic). Try to upgrade to the latest version first :-)
I'm on v5.2.0 and got the same error:
RangeError: Maximum call stack size exceeded
at Function.func (C:\Users\Paco\.atom\packages\elmjutsu\elm\indexer.js:1278:11)
at A2 (C:\Users\Paco\.atom\packages\elmjutsu\elm\indexer.js:92:11)
at Function.foldr [as func] (C:\Users\Paco\.atom\packages\elmjutsu\elm\indexer.js:1004:9)
at A3 (C:\Users\Paco\.atom\packages\elmjutsu\elm\indexer.js:98:11)
at Function.func (C:\Users\Paco\.atom\packages\elmjutsu\elm\indexer.js:1272:10)
at A2 (C:\Users\Paco\.atom\packages\elmjutsu\elm\indexer.js:92:11)
at C:\Users\Paco\.atom\packages\elmjutsu\elm\indexer.js:10297:18
at C:\Users\Paco\.atom\packages\elmjutsu\elm\indexer.js:16:54
at Function.func (C:\Users\Paco\.atom\packages\elmjutsu\elm\indexer.js:1278:11)
at A2 (C:\Users\Paco\.atom\packages\elmjutsu\elm\indexer.js:92:11)
at Function.foldr [as func] (C:\Users\Paco\.atom\packages\elmjutsu\elm\indexer.js:1004:9)
at A3 (C:\Users\Paco\.atom\packages\elmjutsu\elm\indexer.js:98:11)
at Function.func (C:\Users\Paco\.atom\packages\elmjutsu\elm\indexer.js:1272:10)
at A2 (C:\Users\Paco\.atom\packages\elmjutsu\elm\indexer.js:92:11)
at C:\Users\Paco\.atom\packages\elmjutsu\elm\indexer.js:10297:18
at C:\Users\Paco\.atom\packages\elmjutsu\elm\indexer.js:16:54
at Function.func (C:\Users\Paco\.atom\packages\elmjutsu\elm\indexer.js:1278:11)
at A2 (C:\Users\Paco\.atom\packages\elmjutsu\elm\indexer.js:92:11)
at Function.foldr [as func] (C:\Users\Paco\.atom\packages\elmjutsu\elm\indexer.js:1004:9)
at A3 (C:\Users\Paco\.atom\packages\elmjutsu\elm\indexer.js:98:11)
at Function.func (C:\Users\Paco\.atom\packages\elmjutsu\elm\indexer.js:1272:10)
at A2 (C:\Users\Paco\.atom\packages\elmjutsu\elm\indexer.js:92:11)
at C:\Users\Paco\.atom\packages\elmjutsu\elm\indexer.js:10297:18
at C:\Users\Paco\.atom\packages\elmjutsu\elm\indexer.js:16:54
at Function.func (C:\Users\Paco\.atom\packages\elmjutsu\elm\indexer.js:1278:11)
at A2 (C:\Users\Paco\.atom\packages\elmjutsu\elm\indexer.js:92:11)
at Function.foldr [as func] (C:\Users\Paco\.atom\packages\elmjutsu\elm\indexer.js:1004:9)
at A3 (C:\Users\Paco\.atom\packages\elmjutsu\elm\indexer.js:98:11)
at Function.func (C:\Users\Paco\.atom\packages\elmjutsu\elm\indexer.js:1272:10)
at A2 (C:\Users\Paco\.atom\packages\elmjutsu\elm\indexer.js:92:11)
Hi @pacbeckh! Do you have a way to reproduce that? Like a sample file or steps that I can follow? Thanks!
Hi again! If you're always encountering this issue, you can uncheck these options (settings view) in the meantime:
Define from type annotation
special completionReplace type with default
special completionInsert default arguments
special completion@halohalospecial I'm a bit short on time, i'll try to see if I can make some time this week to make the files available to you.
Thanks, @pacbeckh!
@halohalospecial
I've added a copy of the files and working state in which the error occurs. See the readme.md for the error report and steps to reproduce: https://github.com/pacbeckh/UncaughtRangeError
@pacbeckh, thank you very much for the reproduction steps! :+1: You can check out the latest release (v.5.2.1).
This seems to happen randomly, especially when I'm working with union types. It says it was solved in #31, but I'm still getting it on the latest version. Is there you need beyond the following diagnostic?
Atom Version: 1.13.0 Electron Version: 1.3.13 System: Mac OS X 10.11.6 Thrown From: elmjutsu package, v3.5.0
Stack Trace
Uncaught RangeError: Maximum call stack size exceeded
Commands
Config
Installed Packages