Skip to content

Conversation

llogick
Copy link
Contributor

@llogick llogick commented Sep 5, 2022

this is a fix for #381 and a hack for #409
(related, get triggered by "f..o.o;")

merge or use as an inspiration to fix these

PS. only covers .field_access
ideally all calls to tree.tokenSlice(token) should be reworked to use ast.tokenSlice(tree, token)

Regards

this is a fix for zigtools#381 and a hack for zigtools#409
(related, get triggered by "f..o.o;")
Copy link
Member

@SuperAuguste SuperAuguste left a comment

Choose a reason for hiding this comment

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

Simple but elegant.

@SuperAuguste SuperAuguste merged commit 6269eef into zigtools:master Sep 7, 2022
@llogick llogick deleted the foo branch September 9, 2022 22:03
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