Commit 0254e494 authored by Camil Staps's avatar Camil Staps 🚀

Clean.PrettyPrint: Resolve #2: missing parentheses around attributed types

parent 093e8afa
......@@ -128,7 +128,7 @@ instance print AType
where
print st {at_attribute=TA_Var {av_ident},at_type=TV {tv_ident}}
| av_ident.id_name == tv_ident.id_name = "." +++ tv_ident.id_name
print st at = print st (at.at_attribute :+: at.at_type)
print st at = print {st & cpp_parens=True} (at.at_attribute :+: at.at_type)
instance print ATypeVar
where
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment