Skip to content

Commit

Permalink
fix bug in instantiating enumerated types defined in a seperate module.
Browse files Browse the repository at this point in the history
  • Loading branch information
usr3-1415 committed Mar 13, 2023
1 parent 148a614 commit 5633bf8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion FrontEndAst/RemoveParamterizedTypes.fs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ let rec CloneType (r:AstRoot) (curModule:Asn1Module) (oldModName:string) (name
parameterizedTypeInstance = false
acnInfo = old.acnInfo
unitsOfMeasure = old.unitsOfMeasure
moduleName = old.moduleName
moduleName = curModule.Name.Value
}
retType, (implicitImports@newImports |> Seq.distinct |> Seq.toList)

Expand Down
2 changes: 1 addition & 1 deletion asn1scc/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ let printVersion () =
//let fvi = System.Diagnostics.FileVersionInfo.GetVersionInfo(assembly.Location);
//let version = fvi.FileVersion;

let version = "4.5.0.2"
let version = "4.5.0.3"
printfn "asn1scc version %s\n" version
()

Expand Down
1 change: 1 addition & 0 deletions runTestsUsingContainer.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docker run -ti --rm -v ${PWD}:/src asn1scc_dev

0 comments on commit 5633bf8

Please sign in to comment.