- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestCallersEndlineno (0.1 sec)
-
src/runtime/callers_test.go
// function exit, rather than at the defer statement. state = 2 } // issue #51988 // Func.Endlineno was lost when instantiating generic functions, leading to incorrect // stack trace positions. func TestCallersEndlineno(t *testing.T) { testNormalEndlineno(t) testGenericEndlineno[int](t) } func testNormalEndlineno(t *testing.T) { defer testCallerLine(t, callerLine(t, 0)+1) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 21:36:31 UTC 2023 - 12.1K bytes - Viewed (0)