Skip to content

Commit 914ddcc

Browse files
JKRTadrpo
authored andcommitted
Minor updates to the transpiler
1 parent 8a06f29 commit 914ddcc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

OMCompiler/Compiler/Template/AbsynToJulia.tpl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ match class
9898
>>
9999
case CLASS(body=parts as PARTS(__)) then
100100
let enc_str = if encapsulatedPrefix then "" /*Should we use a macro here?*/ else ""
101-
let partial_str = if partialPrefix then "abstract" else ""
101+
let partial_str = if partialPrefix then "#=TODO: Originally partial =# " else ""
102102
let class_type_str = dumpClassType(restriction)
103103
let cdef_str1 = match restriction
104104
case R_PACKAGE(__) then
@@ -316,7 +316,7 @@ match class_part
316316
let ann_str = match annotation_ case SOME(ann) then ' <%dumpAnnotation(ann, context)%>;'
317317
match externalDecl
318318
case EXTERNALDECL(__) then //Turned of temporary to translate builtin
319-
"#= Defined in the runtime =#" //AbsynDumpTpl.errorMsg("AbsynToJulia.dumpClassPart: EXTERNALDECL(__) not supported.")
319+
"#= TODO: Defined in the runtime =#" //AbsynDumpTpl.errorMsg("AbsynToJulia.dumpClassPart: EXTERNALDECL(__) not supported.")
320320
end dumpClassPart;
321321

322322
template dumpElementItems(list<Absyn.ElementItem> items, Context context, String prevSpacing, Boolean first, DumpOptions options)
@@ -788,6 +788,7 @@ match path
788788
case "array" then 'Array'
789789
case "tuple" then 'Tuple'
790790
case "polymorphic" then 'Any'
791+
case "Mutable" then 'MutableType'
791792
else '<%name%>'
792793
else
793794
AbsynDumpTpl.errorMsg("AbsynToJulia.dumpPathJL: Unknown path.")

0 commit comments

Comments
 (0)