You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When executing llgo cmptest ./_xtool/llcppsymg/_cmptest/... from the goplus/llcppg project root directory, an unexpected panic occurs:
panic: runtime error: index out of range [0] with length 0
goroutine 1 [running]:
github.com/goplus/llgo/internal/build.Do({0x140000ac1a0?, 0x1?, 0x1?}, 0x140000ca5a0)
/Users/zhangzhiyang/go/pkg/mod/github.com/goplus/[email protected]/internal/build/build.go:196 +0xd70
...
However, the same test command works fine in two scenarios:
When executed directly in the ./_xtool/llcppsymg/_cmptest/ directory
When running similar tests for llcppsigfetch from the project root (e.g., llgo cmptest ./_xtool/llcppsigfetch/parse/cvt_test/...)
Steps to Reproduce:
From project root:
llgo cmptest ./_xtool/llcppsymg/_cmptest/... # Fails with panic
From ./_xtool/llcppsymg/_cmptest/ directory:
llgo cmptest ./... # Works correctly
From project root (different module):
llgo cmptest ./_xtool/llcppsigfetch/parse/cvt_test/... # Works correctly
The text was updated successfully, but these errors were encountered:
When executing
llgo cmptest ./_xtool/llcppsymg/_cmptest/...
from the goplus/llcppg project root directory, an unexpected panic occurs:However, the same test command works fine in two scenarios:
./_xtool/llcppsymg/_cmptest/
directoryllcppsigfetch
from the project root (e.g.,llgo cmptest ./_xtool/llcppsigfetch/parse/cvt_test/...
)Steps to Reproduce:
The text was updated successfully, but these errors were encountered: