You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
INTERNAL ERROR: Error: Assertion failed
at Object.assert (/Users/pavel/Git/Microbit/makecode/node_modules/pxt-core/built/pxt.js:98695:27)
at getVTable (/Users/pavel/Git/Microbit/makecode/node_modules/pxt-core/built/pxt.js:133474:32)
at emitVTables (/Users/pavel/Git/Microbit/makecode/node_modules/pxt-core/built/pxt.js:134517:21)
at Object.compileBinary (/Users/pavel/Git/Microbit/makecode/node_modules/pxt-core/built/pxt.js:133162:13)
at Object.compile (/Users/pavel/Git/Microbit/makecode/node_modules/pxt-core/built/pxt.js:137199:40)
at /Users/pavel/Git/Microbit/makecode/node_modules/pxt-core/built/pxt.js:165353:21
make: *** [build] Error 20
When changing the AbstractPlayer to
abstractclassAbstractPlayer{play(): void{}}
The compilation succeeds and the code works well on micro:bit.
Expected behavior
The compilation should succeed.
Desktop (please complete the following information):
OS: macOS Sequoia 15.1.1
target: v7.1.15
pxt-core v11.3.3
The text was updated successfully, but these errors were encountered:
Describe the bug
When extending an
abstract class
with anabstract method
, thepxt build
fails.To Reproduce
Run
pxt build
for the program below.The compilation fails with
When changing the
AbstractPlayer
toThe compilation succeeds and the code works well on micro:bit.
Expected behavior
The compilation should succeed.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: