3 lines
98 B
ChaiScript
3 lines
98 B
ChaiScript
assert_throws("Function already defined", fun(){ def foo(x) { x + 1 }; def foo(x) { x + 1 } } );
|
|
|