Skip to content

Commit

Permalink
Fix illegal break in code writer
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio0694 committed Oct 21, 2024
1 parent f9c0207 commit 0eaa805
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/cswinrt/code_writers.h
Original file line number Diff line number Diff line change
Expand Up @@ -8075,18 +8075,21 @@ NativeMemory.Free((void*)abiToProjectionVftablePtr);
if (settings.idic_exclusiveto)
{
shouldOmitCcwCodegen = true;
break;
}

w.write(R"(%
else
{
// Otherwise, just write the minimal non-IDIC interface
w.write(R"(%
internal interface % : %
{
}
)",
bind<write_guid_attribute>(type),
type_name,
bind<write_type_name>(type, typedef_name_type::CCW, false));
return true;

return true;
}
}
}

Expand Down

0 comments on commit 0eaa805

Please sign in to comment.