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

access modifiers #14

Merged
merged 12 commits into from
Sep 28, 2024
Merged

access modifiers #14

merged 12 commits into from
Sep 28, 2024

Conversation

ttodua
Copy link
Member

@ttodua ttodua commented Sep 25, 2024

but at first, #15 needs to be merged, so tests will pass here too.

@ttodua ttodua closed this Sep 27, 2024
@ttodua ttodua reopened this Sep 27, 2024
modifiers = this.defaultPropertyAccess;
}
// add type
if (!node.type) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ttodua instead of throwing why don't we assume object as the type?

if (!node.type) {
throw new Error('[C#] Class properties can not be transpiled if the property-type is not specified');
}
let typeText = this.getType(node);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same why not object ?

@carlosmiei carlosmiei merged commit a5c4fe9 into ccxt:master Sep 28, 2024
1 check passed
@ttodua ttodua deleted the access-modifiers branch September 28, 2024 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants