Skip to content

Commit 8b268f9

Browse files
committed
Refactor ReferenceType handling in foldType2 function
1 parent 90dfd2b commit 8b268f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

FrontEndAst/Asn1Fold.fs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -515,9 +515,9 @@ let foldType2
515515
let newChildren = ti.children |> foldMap (fun curState ch -> chChildFunc ch (loopType (Some {ParentInfo.parent = t ; name=Some ch.Name.Value; parentData=parentData}) ch.Type curState)) ns
516516
choiceFunc pi t ti newChildren
517517
| ReferenceType ti ->
518-
//match CommonTypes.ProgrammingLanguage.ActiveLanguages.Head with
519-
//| CommonTypes.ProgrammingLanguage.Scala -> refType pi t ti (loopType pi ti.resolvedType us)
520-
//| _ ->
518+
match CommonTypes.ProgrammingLanguage.ActiveLanguages.Head with
519+
| CommonTypes.ProgrammingLanguage.Scala -> refType pi t ti (loopType pi ti.resolvedType us)
520+
| _ ->
521521
match ti.hasExtraConstrainsOrChildrenOrAcnArgs with
522522
| true ->
523523
refType pi t ti (loopType pi ti.resolvedType us)

0 commit comments

Comments
 (0)