A compiler for JMC (JavaScript-like Minecraft Function), a mcfunction extension language for making Minecraft Datapack
62
stars
6
forks
source link
[BUG] If statements break return statements and function macros #104
Open
OguzhanUmutlu opened 2 weeks ago
Describe the bug
If statements break into new functions inside private folder which breaks both /return and function macros
To Reproduce
Example code that breaks /return:
Example code that breaks function macros:
Expected behavior
First one should print out "hi" and "1", but instead it prints out "hi" and "0"
Second one should print out "hi" and "10", but instead it prints out nothing
Desktop