jsii icon indicating copy to clipboard operation
jsii copied to clipboard

C#: JSII-Pacmak adds extra }

Open DanielMSchmidt opened this issue 2 years ago • 0 comments
trafficstars

Describe the bug

When we run jsii-pacmak -v --target dotnet in the build process of cdktf-provider-oci we run into ~50 errors across all sorts of resouces that all appear to have one or two extra } at the end the file.

Expected Behavior

Compiling the bindings from the source TS correctly for C#

Current Behavior

This gist shows one example of a TS file and a corresponding C# file, at the very end of the C# file you can see two extra }.

Reproduction Steps

  • Create new project with cdktf 0.18.2 (or any recent version) and constructs installed
  • This gist Copy the TS file of the gist.
  • Run pacmak against it, see the error

Possible Solution

No response

Additional Information/Context

No response

SDK version used

[email protected], [email protected]

Environment details (OS name and version, etc.)

OSX Ventura & Ubuntu on GH Runner

DanielMSchmidt avatar Oct 17 '23 13:10 DanielMSchmidt