Akuli / jou

Yet another programming language
MIT License
12 stars 4 forks source link

How to intentionally not use a variable #447

Closed Akuli closed 9 months ago

Akuli commented 9 months ago
def main() -> int:
    _ = 123
    return 0

Expected result: no error because variable name starts with _ (similar to Rust compiler, Python linters, etc) Actual result: compiler warning for file "a.jou", line 2: variable '_' is never used