mirror of https://github.com/japl-lang/japl.git
Changed native's string repr
This commit is contained in:
parent
875440ba8c
commit
d05e45d3b6
|
@ -34,7 +34,7 @@ proc typeName*(self: ptr Native): string =
|
||||||
|
|
||||||
proc stringify*(self: ptr Native): string =
|
proc stringify*(self: ptr Native): string =
|
||||||
if self.name != nil:
|
if self.name != nil:
|
||||||
result = "<function '" & self.name.toStr() & "'>"
|
result = "<built-in function '" & self.name.toStr() & "'>"
|
||||||
else:
|
else:
|
||||||
result = "<code object>"
|
result = "<code object>"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue