flofriday / Moose

🐐 A new fun programming language
MIT License
6 stars 1 forks source link

nil is not nil #37

Closed flofriday closed 1 year ago

flofriday commented 1 year ago

Example

Moose Interpreter (https://github.com/flofriday/Moose)
Written with <3 by Jozott00 and flofriday.
> a: Int = nil
> print(a == nil)
false
>

Note

This already worked in a previous version. This is kinda my fault cause I hadn't had time to add nil to the testsuite but I will do that now.

Jozott00 commented 1 year ago

Fixed