Skip to content

Commit 7031952

Browse files
author
Sam
committed
Propogat Identifier in alias
1 parent 5d459d8 commit 7031952

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compiler/CompilerMain.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ std::string create_type_assignment(const std::string& name, const Type& assignme
4545
{
4646
res += "enum class " + name + "Values" + type_as_string(assignment_type, module, tree);
4747
res += create_template_definition({"Identifier"});
48-
res += "FAST_BER_ALIAS(" + name + ", " + "Enumerated<" + name + "Values>);\n";
48+
res += "FAST_BER_ALIAS(" + name + ", " + "Enumerated<" + name + "Values, Identifier>);\n";
4949
}
5050
else
5151
{
5252
res += create_template_definition({"Identifier"});
53-
res += "FAST_BER_ALIAS(" + name + ", " + type_as_string(assignment_type, module, tree) + ");\n";
53+
res += "FAST_BER_ALIAS(" + name + ", " + type_as_string(assignment_type, module, tree, "Identifier") + ");\n";
5454
}
5555
return res;
5656
}

0 commit comments

Comments
 (0)