We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent faa0e1b commit 230b0b0Copy full SHA for 230b0b0
1 file changed
vm_core.h
@@ -1987,7 +1987,8 @@ rb_current_execution_context(bool expect_ec)
1987
* To avoid accidents, `GET_EC()` should be called once on the frame.
1988
* Note that inlining can produce the problem.
1989
*/
1990
- VM_ASSERT(ec == rb_current_ec_noinline());
+ VM_ASSERT(ec == rb_current_ec_noinline(),
1991
+ "%d:%p:%p", expect_ec, ec, rb_current_ec_noinline());
1992
#else
1993
rb_execution_context_t *ec = native_tls_get(ruby_current_ec_key);
1994
#endif
0 commit comments