1
1
mirror of https://github.com/github/semantic.git synced 2024-12-26 08:25:19 +03:00

One term, one love

This commit is contained in:
Rick Winfrey 2018-05-31 14:16:12 -07:00
parent d4beb9d02d
commit 559894bf19

View File

@ -307,7 +307,7 @@ sliceType :: Assignment
sliceType = makeTerm <$> symbol SliceType <*> children (Type.Slice <$> expression)
structType :: Assignment
structType = makeTerm <$> symbol StructType <*> children (Declaration.Constructor <$> emptyTerm <*> manyTerm expression)
structType = makeTerm <$> symbol StructType <*> children (Declaration.Constructor <$> emptyTerm <*> expressions)
typeAlias :: Assignment
typeAlias = makeTerm <$> symbol TypeAlias <*> children (Declaration.TypeAlias [] <$> expression <*> expression)