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

Tsify llvm-ast #4614

Merged
merged 3 commits into from
Jan 24, 2023
Merged

Tsify llvm-ast #4614

merged 3 commits into from
Jan 24, 2023

Conversation

jeremy-rifkin
Copy link
Member

Baseline for converting lib/llvm-ast, I have not tested locally yet

lib/llvm-ast.ts Outdated Show resolved Hide resolved
line.source = {from: lfrom, to: lto};
if (span.type !== LocTypes.NONE) {
// TODO: ResultLineSource doesn't have to/from
(line.source as any) = {from: lfrom, to: lto};
Copy link
Member Author

Choose a reason for hiding this comment

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

Not sure if this is wrong or if ResultLineSource is wrong

Copy link
Member

Choose a reason for hiding this comment

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

oh hmm that's weird...another typing mystery.

@jeremy-rifkin jeremy-rifkin changed the title Convert llvm-ast Tsify llvm-ast Jan 18, 2023
Copy link
Member

@mattgodbolt mattgodbolt left a comment

Choose a reason for hiding this comment

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

needs a npm run lint (and a local test :D )

@jeremy-rifkin
Copy link
Member Author

Thank you, completely missed those warnings :) Tested locally and looks good to go

@jeremy-rifkin jeremy-rifkin merged commit 2dc004d into main Jan 24, 2023
@jeremy-rifkin jeremy-rifkin deleted the jr/tsify/llvm-ast branch January 24, 2023 20:44
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.

None yet

2 participants