-
-
Save cherryblossom000/fd06e14b95e982060655a6f22af6cd58 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
panic: Scope location 1120 must be greater than 1179 [recovered] | |
panic: Scope location 1120 must be greater than 1179 | |
goroutine 73 [running]: | |
github.com/amasad/esparse/parser.Parse.func1(0xc00044fe58) | |
/root/go/pkg/mod/github.com/amasad/esparse@v0.0.0-20200423043217-e2a08a964677/parser/parser.go:7827 +0x6a | |
panic(0x882dc0, 0xc0003921d0) | |
/usr/lib/go-1.15/src/runtime/panic.go:969 +0x175 | |
github.com/amasad/esparse/parser.(*parser).pushScopeForParsePass(0xc00045c000, 0x2, 0x460, 0xc000451cc0) | |
/root/go/pkg/mod/github.com/amasad/esparse@v0.0.0-20200423043217-e2a08a964677/parser/parser.go:272 +0x39f | |
github.com/amasad/esparse/parser.(*parser).parseParenExpr(0xc00045c000, 0x100000460, 0x0, 0x0, 0x0) | |
/root/go/pkg/mod/github.com/amasad/esparse@v0.0.0-20200423043217-e2a08a964677/parser/parser.go:1759 +0x6ab | |
github.com/amasad/esparse/parser.(*parser).parseAsyncExpr(0xc00045c000, 0x500000460, 0x1, 0x0, 0x0, 0x0) | |
/root/go/pkg/mod/github.com/amasad/esparse@v0.0.0-20200423043217-e2a08a964677/parser/parser.go:1604 +0x3ae | |
github.com/amasad/esparse/parser.(*parser).parsePrefix(0xc00045c000, 0x1, 0x0, 0xc000000000, 0x0, 0x0) | |
/root/go/pkg/mod/github.com/amasad/esparse@v0.0.0-20200423043217-e2a08a964677/parser/parser.go:1980 +0x2b13 | |
github.com/amasad/esparse/parser.(*parser).parseExpr(0xc00045c000, 0x1, 0x44d, 0x10ab3c0, 0xc00045a718) | |
/root/go/pkg/mod/github.com/amasad/esparse@v0.0.0-20200423043217-e2a08a964677/parser/parser.go:2435 +0x45 | |
github.com/amasad/esparse/parser.(*parser).parseAndDeclareDecls(0xc00045c000, 0x108, 0x1, 0x1, 0x1) | |
/root/go/pkg/mod/github.com/amasad/esparse@v0.0.0-20200423043217-e2a08a964677/parser/parser.go:3182 +0x2b3 | |
github.com/amasad/esparse/parser.(*parser).parseStmt(0xc00045c000, 0x1, 0x0, 0x0, 0x0) | |
/root/go/pkg/mod/github.com/amasad/esparse@v0.0.0-20200423043217-e2a08a964677/parser/parser.go:4045 +0xd9a | |
github.com/amasad/esparse/parser.(*parser).parseStmtsUpTo(0xc00045c000, 0x12, 0x1, 0xc000394a00, 0x50, 0x4) | |
/root/go/pkg/mod/github.com/amasad/esparse@v0.0.0-20200423043217-e2a08a964677/parser/parser.go:4834 +0xab | |
github.com/amasad/esparse/parser.(*parser).parseFnBodyStmts(0xc00045c000, 0x100, 0x2, 0x2, 0x3) | |
/root/go/pkg/mod/github.com/amasad/esparse@v0.0.0-20200423043217-e2a08a964677/parser/parser.go:4817 +0xc5 | |
github.com/amasad/esparse/parser.(*parser).parseFn(0xc00045c000, 0x0, 0xc000000100, 0x0, 0xc000394a00, 0x3, 0x4, 0x1, 0x0, 0x0, ...) | |
/root/go/pkg/mod/github.com/amasad/esparse@v0.0.0-20200423043217-e2a08a964677/parser/parser.go:3529 +0x4b4 | |
github.com/amasad/esparse/parser.(*parser).parseProperty(0xc00045c000, 0x0, 0x0, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) | |
/root/go/pkg/mod/github.com/amasad/esparse@v0.0.0-20200423043217-e2a08a964677/parser/parser.go:1402 +0x32f | |
github.com/amasad/esparse/parser.(*parser).parseProperty(0xc00045c000, 0x0, 0x0, 0x0, 0xc0003a8e98, 0x0, 0x0, 0x0, 0x0, 0x0, ...) | |
/root/go/pkg/mod/github.com/amasad/esparse@v0.0.0-20200423043217-e2a08a964677/parser/parser.go:1312 +0x110f | |
github.com/amasad/esparse/parser.(*parser).parsePrefix(0xc00045c000, 0x1, 0x0, 0xc000000000, 0x0, 0x0) | |
/root/go/pkg/mod/github.com/amasad/esparse@v0.0.0-20200423043217-e2a08a964677/parser/parser.go:2227 +0x6f3 | |
github.com/amasad/esparse/parser.(*parser).parseExpr(0xc00045c000, 0x1, 0xca, 0x10ab3c0, 0xc00045a220) | |
/root/go/pkg/mod/github.com/amasad/esparse@v0.0.0-20200423043217-e2a08a964677/parser/parser.go:2435 +0x45 | |
github.com/amasad/esparse/parser.(*parser).parseAndDeclareDecls(0xc00045c000, 0x10108, 0x1, 0x1, 0x1) | |
/root/go/pkg/mod/github.com/amasad/esparse@v0.0.0-20200423043217-e2a08a964677/parser/parser.go:3182 +0x2b3 | |
github.com/amasad/esparse/parser.(*parser).parseStmt(0xc00045c000, 0x101, 0x0, 0x0, 0x0) | |
/root/go/pkg/mod/github.com/amasad/esparse@v0.0.0-20200423043217-e2a08a964677/parser/parser.go:4045 +0xd9a | |
github.com/amasad/esparse/parser.(*parser).parseStmtsUpTo(0xc00045c000, 0x0, 0x101, 0x31, 0xc0001998c0, 0x31) | |
/root/go/pkg/mod/github.com/amasad/esparse@v0.0.0-20200423043217-e2a08a964677/parser/parser.go:4834 +0xab | |
github.com/amasad/esparse/parser.Parse(0xc000382960, 0x15, 0xc0001998c0, 0x31, 0xc0001998c0, 0x31, 0xc000418000, 0x1b14, 0x1, 0x0, ...) | |
/root/go/pkg/mod/github.com/amasad/esparse@v0.0.0-20200423043217-e2a08a964677/parser/parser.go:7851 +0x1d0 | |
github.com/replit/upm/internal/backends/nodejs.parseFile(0x15, 0xc0001998c0, 0x31, 0xc0001998c0, 0x31, 0xc000418000, 0x1b14, 0xc000102120) | |
/upm/internal/backends/nodejs/grab.go:86 +0x158 | |
created by github.com/replit/upm/internal/backends/nodejs.guessBareImports.func1 | |
/upm/internal/backends/nodejs/grab.go:136 +0x431 | |
Repl.it: Package operation failed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment