mirror of
https://github.com/github/semantic.git
synced 2024-12-22 06:11:49 +03:00
Add mapping for slice types
This commit is contained in:
parent
5fa1e51694
commit
d015068e5b
@ -109,6 +109,7 @@ termConstructor source sourceSpan name range children _ = case name of
|
||||
children@[ty, _] -> case category (extract ty) of
|
||||
ArrayTy -> toImplicitArray children
|
||||
DictionaryTy -> toMap children
|
||||
SliceTy -> sliceToSubscriptAccess children
|
||||
_ -> toStruct children
|
||||
rest -> withRanges range Error rest $ S.Error rest
|
||||
toImplicitArray = \case
|
||||
|
Loading…
Reference in New Issue
Block a user