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
$ git clone https://github.com/pocketbase/pocketbase
$ cd pocketbase
$ xgo test -v ./...
# github.com/pocketbase/pocketbase/models/schema<unknown line number>: internal compiler error: panic: interface conversion: interface {} is string, not syntax.writeError
Please file a bug report including a short program that triggers the error.
https://go.dev/issue/new
with-go1.22 xgo test -v --project-dir runtime/test/bugs/hugoio
# github.com/xhd2015/xgo/runtime/test/bugs/hugoio [github.com/xhd2015/xgo/runtime/test/bugs/hugoio.test]<unknown line number>: internal compiler error: panic: interface conversion: interface {} is string, not syntax.writeError
Please file a bug report including a short program that triggers the error.
https://go.dev/issue/new
FAIL github.com/xhd2015/xgo/runtime/test/bugs/hugoio [build failed]
exit status 1
// see https://github.com/xhd2015/xgo/issues/142package pocketbase
constDefaultDateLayout="2006-01-02 15:04:05.000Z"funcchainedConst() {
// the problem only appears when chained const with// following call with argwrap(DefaultDateLayout).Min(nil)
}
funcwrap(estring) interface{ Min(tinterface{}) } {
returnnil
}
with-go1.22 go run -tags dev ./cmd/xgo build -v --project-dir runtime/test/bugs/pocketbase
github.com/xhd2015/xgo/runtime/test/bugs/pocketbase
# github.com/xhd2015/xgo/runtime/test/bugs/pocketbase<unknown line number>: internal compiler error: panic: interface conversion: interface {} is string, not syntax.writeError
Please file a bug report including a short program that triggers the error.
https://go.dev/issue/new
The line that causes error: wrap(DefaultDateLayout).Min(nil)
Raised by PR: #141
From action: https://github.com/xhd2015/xgo/actions/runs/9209266281/job/25333420028?pr=141
A proof of power of nightly build: #123
The text was updated successfully, but these errors were encountered: