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
Describe the bug
There appears to be a stack overflow in internal/pkg/sourcetype/sourcetype.go, as a result of infinite recursion between line 36 and line 45 (checking whether type.Named type is a source type and checking whether a map element is a source type). This may be triggered by creating a named map type where which stores elements of its own type.
To Reproduce
Run go-flow-levee on the following code:
package main
typeTreemap[string]Treefuncmain() {
_=make(Tree)
}
Bug report
Describe the bug
There appears to be a stack overflow in internal/pkg/sourcetype/sourcetype.go, as a result of infinite recursion between line 36 and line 45 (checking whether
type.Named
type is a source type and checking whether amap
element is a source type). This may be triggered by creating a named map type where which stores elements of its own type.To Reproduce
Run go-flow-levee on the following code:
Additional context
Stacktrace:
The text was updated successfully, but these errors were encountered: