Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jsii-rosetta: Duplicate Comments on CSharp and Java #1179

Open
2 of 5 tasks
DanielMSchmidt opened this issue Nov 25, 2021 · 0 comments
Open
2 of 5 tasks

jsii-rosetta: Duplicate Comments on CSharp and Java #1179

DanielMSchmidt opened this issue Nov 25, 2021 · 0 comments
Labels
bug Something isn't working p2

Comments

@DanielMSchmidt
Copy link

🐛 Bug Report

Affected Languages

  • TypeScript or Javascript
  • 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
});

Verbose Log

@DanielMSchmidt DanielMSchmidt added the bug Something isn't working label Nov 25, 2021
@mrgrain mrgrain transferred this issue from aws/jsii Apr 18, 2024
@mrgrain mrgrain added the p2 label Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working p2
Projects
None yet
Development

No branches or pull requests

2 participants