We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8309a7e commit e80f88aCopy full SHA for e80f88a
src/Generator/Generators/Registrable/Lua/Sol/LuaSolSources.cs
@@ -810,17 +810,13 @@ public virtual bool GenerateVariableDecl(Variable variable)
810
// TODO: check for typemaps!!!
811
if (isDetach != DetachmentOption.Off)
812
{
813
- Write($"{variableBindingContext}[{variableNameQuoted}] = ::sol::var({variableContextualName});");
+ WriteLine($"{variableBindingContext}[{variableNameQuoted}] = ::sol::var({variableContextualName});");
814
}
815
else
816
817
WriteLine(",");
818
Write($"{variableNameQuoted}, ::sol::var({variableContextualName})");
819
820
- if (isDetach != DetachmentOption.Off)
821
- {
822
- WriteLine(";");
823
- }
824
825
826
return true;
0 commit comments