terumi-project / Terumi

Terumi - Shell scripts, reinvented
MIT License
4 stars 0 forks source link

[BUG] not operator doesn't work #3

Closed monoclex closed 4 years ago

monoclex commented 4 years ago

This bug is a:

Language Error:

Please enter what you typed that didn't compile:

main()
{
    bool a = !true
}
System.InvalidOperationException: 'Couldn't consume statement in code body on line 3, column 14 (binary offset 21) in file <censored>\main.trm.'

Target code error:

Please enter what you typed that didn't work on the target language:

monoclex commented 4 years ago

Current workaround:

main()
{
    bool a = @operator_not(true)
}
monoclex commented 4 years ago

Works