jsii-rosetta: Duplicate Comments on CSharp and Java
Opened this issue ยท 0 comments
DanielMSchmidt commented
๐ Bug Report
Affected Languages
-
TypeScript
orJavascript
-
Python
-
Java
- .NET (
C#
,F#
, ...) -
Go
General Information
- JSII Version: 1.46.0
- Platform: osx
What is the problem?
Comments in Java and CSharp are being duplicated
// plain values
new edge.RequiredAttributeResource(this, "plain", {
bool: res.bool,
str: res.str,
num: res.num,
});
gets translated to this in Java
// plain values
// plain values
RequiredAttributeResource.Builder.create(this, "plain")
.bool(res.getBool())
.str(res.getStr())
.num(res.getNum())
.build();
and this in C#
// plain values
// plain values
new RequiredAttributeResource(this, "plain", new Struct {
Bool = res.Bool,
Str = res.Str,
Num = res.Num
});