HCoop
/
jackhill
/
mal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
crystal: improve error message
[jackhill/mal.git]
/
crystal
/
types.cr
diff --git
a/crystal/types.cr
b/crystal/types.cr
index
44855e0
..
6f68ed0
100644
(file)
--- a/
crystal/types.cr
+++ b/
crystal/types.cr
@@
-1,3
+1,5
@@
+require "./printer"
+
module Mal
class Symbol
property :str
@@
-47,6
+49,10
@@
module Mal
@is_macro
end
+ def to_s
+ pr_str(self)
+ end
+
def ==(other : Type)
@val == other.unwrap
end