sclang/classlib: `thisMethod` doesn't respect inheritance.

Author: JordanHendersonMusicCreated Sep 22, 2026Updated Sep 23, 2026
Labelsbug

I am actually unsure if this is a bug, but it is quite confusing in some situations.

Environment

  • SuperCollider version: all

Steps to reproduce

I

supercollider
A {
   meow { ^thisMethod }
}

B : A {}

B().meow // A:meow

Expected vs. actual behavior

I get why this happens, the compiler knows exactly what method it is in right now (A:meow).... but it only got there by going through B:meow.... or rather B:meow doesn't exist so it falls back to it's parent implementation.

I think it should return B:meow and indicate that it is a proxy for A:meow.

Source: supercollider/supercollider