Skip to content

Commit 20a55e7

Browse files
niaowaykevl
authored andcommitted
fix miscompile of function nil panics
1 parent a2c7112 commit 20a55e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/compiler.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ var functionsUsedInTransforms = []string{
3838
"runtime.alloc",
3939
"runtime.free",
4040
"runtime.scheduler",
41+
"runtime.nilPanic",
4142
}
4243

4344
var taskFunctionsUsedInTransforms = []string{

0 commit comments

Comments
 (0)