Update to go1.24.0
This commit is contained in:
@@ -25,7 +25,7 @@ func f1() {
|
||||
// Escape analysis used to miss inlined code in closures.
|
||||
|
||||
func() { // ERROR "can inline f1.func1"
|
||||
p = alloc(3) // ERROR "inlining call to alloc"
|
||||
p = alloc(3) // ERROR "inlining call to alloc" "moved to heap: x"
|
||||
}() // ERROR "inlining call to f1.func1" "inlining call to alloc" "moved to heap: x"
|
||||
|
||||
f = func() { // ERROR "func literal escapes to heap" "can inline f1.func2"
|
||||
|
||||
Reference in New Issue
Block a user