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

Commit

Permalink
Stringification of a type object now appends ()
Browse files Browse the repository at this point in the history
  • Loading branch information
quietfanatic committed Jul 26, 2012
1 parent 7e8013c commit 543ec38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Pugs/src/Pugs/AST/Internals.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1166,7 +1166,7 @@ instance Value VStr where
fromVal (VList l) = return . unwords =<< mapM fromVal l
fromVal v@(PerlSV _) = fromVal' v
fromVal VUndef = return ""
fromVal (VType t) = return (showType t)
fromVal (VType t) = return (showType t ++ "()")
fromVal v = do
vt <- evalValType v
case showType vt of
Expand Down

0 comments on commit 543ec38

Please sign in to comment.