running it via cmaj play or the VScode host gives the error:
Internal compiler error: "createCast:1075"
Note: the underlying error here is mine. At line 10 I’m trying to hoist a property on osc, and osc is an array. Cmaj tries to make this an array of endpoints, and that’s not supported.
Workarounds
If the graph is not nested (that is, if StereoOsc is [[main]]), the error is reported correctly:
error: Language feature not yet implemented: top-level arrays of inputs!
It’s only if StereoOsc is referenced from somewhere else that the internal error crops up.
Priority
Very low. The internal error is really only getting in the way of better verbiage to help me diagnose my syntax error. Still, it’s an exposed internal error, so I'm making note of it here.
Environment
Cmajor: version 1.0.2454
OS: macOS 14.4.1 (23E224)
CPU: Apple M1
Reproduction
Given the following patch:
running it via
cmaj play
or the VScode host gives the error:Note: the underlying error here is mine. At line 10 I’m trying to hoist a property on
osc
, andosc
is an array. Cmaj tries to make this an array of endpoints, and that’s not supported.Workarounds
If the graph is not nested (that is, if
StereoOsc
is[[main]]
), the error is reported correctly:It’s only if
StereoOsc
is referenced from somewhere else that the internal error crops up.Priority
Very low. The internal error is really only getting in the way of better verbiage to help me diagnose my syntax error. Still, it’s an exposed internal error, so I'm making note of it here.
Environment
Cmajor: version 1.0.2454 OS: macOS 14.4.1 (23E224) CPU: Apple M1