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

Commit

Permalink
Browse files Browse the repository at this point in the history
stringify types as (Int) instead of Int()
  • Loading branch information
coke committed Mar 3, 2013
1 parent 20b98d5 commit 5933753
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Pugs/src/Pugs/AST/Internals.hs
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
1 change: 1 addition & 0 deletions t/spectest.data
Expand Up @@ -18,6 +18,7 @@ integration/lexicals-and-attributes.t
integration/method-calls-and-instantiation.t
integration/no-indirect-new.t
integration/packages.t
integration/pair-in-array.t
integration/passing-pair-class-to-sub.t
integration/real-strings.t
integration/role-composition-vs-attribute.t
Expand Down

0 comments on commit 5933753

Please sign in to comment.