1
1
mirror of https://github.com/github/semantic.git synced 2025-01-09 00:56:32 +03:00

Make qualifiedType to top level assignment

This commit is contained in:
Rick Winfrey 2017-09-18 11:02:57 -07:00
parent 47cabe8890
commit f09870ef94

View File

@ -146,8 +146,9 @@ typeLiteral =
<|> mk SliceType
<|> qualifiedType
where mk s = makeTerm <$> symbol s <*> (Syntax.Identifier <$> source)
qualifiedType = makeTerm <$> symbol QualifiedType <*> children (Expression.MemberAccess <$> identifier <*> typeLiteral)
qualifiedType :: Assignment
qualifiedType = makeTerm <$> symbol QualifiedType <*> children (Expression.MemberAccess <$> identifier <*> typeLiteral)
-- Type Declarations