tdenniston / bish

Bish is a language that compiles to Bash. It's designed to give shell scripting a more comfortable and modern feel.
MIT License
1.48k stars 36 forks source link

Invalid argument type for function #62

Closed egorsmkv closed 9 years ago

egorsmkv commented 9 years ago

Perhaps there is something wrong with the compiler.

File tests.bish:

values = ["1.23", "2.04", "3.23"];

for (v in values) {
    print("Default value: ");
    print(v);
}

Result:

egor@book:~/Scripts/Bish > bish -r tests.bish
Bish error: Invalid argument type for function call in file 'tests.bish' line 5:
    print(v);
...
tdenniston commented 9 years ago

@eg0r Should be fixed now.

egorsmkv commented 9 years ago

@tdenniston Yes, now there are no problems.