lib/lisp/interpreter/core/errors.rb in lisp-interpreter-0.4.0 vs lib/lisp/interpreter/core/errors.rb in lisp-interpreter-0.4.1
- old
+ new
@@ -18,10 +18,10 @@
def unbound_symbol_err(symbol)
'Unbound symbol ' + symbol.to_s
end
- def data_type_err(exp, got)
+ def type_err(exp, got)
'Invalid data type, expected ' + exp.to_s + ' got ' + got.to_s
end
end
class SchemeException < RuntimeError