fix: arity in the extern attribute

main
Henrik Böving 2022-02-16 21:24:42 +01:00
parent 7d43c83178
commit 28dfc14530
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ instance : ToString ExternEntry where
| ExternEntry.foreign backend fn => s!"{backend} foreign {fn}"
instance : ToString ExternAttrData where
toString data := (data.arity?.map toString |>.getD "") ++ String.intercalate " " (data.entries.map toString)
toString data := (data.arity?.map toString |>.getD "") ++ " " ++ String.intercalate " " (data.entries.map toString)
def parametricAttributes : Array ParametricAttrWrapper := #[⟨externAttr⟩, ⟨Compiler.implementedByAttr⟩]