mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
Prohibit user functions with built-in names
This commit is contained in:
parent
907a9f4f93
commit
9fa02845cb
2 changed files with 18 additions and 7 deletions
|
|
@ -1,5 +1,5 @@
|
|||
infix ++ at + (a, b) { a+b}
|
||||
infix +++ at + (a, b) { a+b}
|
||||
|
||||
var x = read ();
|
||||
|
||||
write (infix ++ (2, 3))
|
||||
write (infix +++ (2, 3))
|
||||
Loading…
Add table
Add a link
Reference in a new issue