check not only - but also + for numbers.

This commit is contained in:
Dave Halter
2014-07-22 16:18:57 +02:00
parent 96ca596cc2
commit f7c8c43fbc
2 changed files with 14 additions and 8 deletions

View File

@@ -2,3 +2,7 @@
1 + 1.0
#! 2 type-error-operation
1 + '1'
#! 2 type-error-operation
1 - '1'
-1 - - 1