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

Unresolved property expressions in constructor params #309

Closed
Schahen opened this issue Jun 17, 2020 · 0 comments
Closed

Unresolved property expressions in constructor params #309

Schahen opened this issue Jun 17, 2020 · 0 comments
Labels
compilation-failure kotlin code is generated but this code fails to be compiled critical
Milestone

Comments

@Schahen
Copy link
Contributor

Schahen commented Jun 17, 2020

Following code:

// _stream.d.ts
export declare interface ReadableOptions {}

// index.d.ts
import * as stream from "./_stream";

declare class MyRequest {
  constructor(options: stream.ReadableOptions) {}
}

is converted to:

// _stream.kt
external interface ReadableOptions

// index.kt
external open class MyRequest(options: stream.ReadableOptions)
@Schahen Schahen added critical compilation-failure kotlin code is generated but this code fails to be compiled labels Jun 17, 2020
@Schahen Schahen added this to the 0.5.3 milestone Jun 17, 2020
@Schahen Schahen changed the title Unresolved property expressions in params Unresolved property expressions in constructor params Jun 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compilation-failure kotlin code is generated but this code fails to be compiled critical
Projects
None yet
Development

No branches or pull requests

1 participant