Skip to content
This repository was archived by the owner on Feb 3, 2021. It is now read-only.

Commit 543ec38

Browse files
committed
Stringification of a type object now appends ()
1 parent 7e8013c commit 543ec38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Pugs/src/Pugs/AST/Internals.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1166,7 +1166,7 @@ instance Value VStr where
11661166
fromVal (VList l) = return . unwords =<< mapM fromVal l
11671167
fromVal v@(PerlSV _) = fromVal' v
11681168
fromVal VUndef = return ""
1169-
fromVal (VType t) = return (showType t)
1169+
fromVal (VType t) = return (showType t ++ "()")
11701170
fromVal v = do
11711171
vt <- evalValType v
11721172
case showType vt of

0 commit comments

Comments
 (0)