-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat: More directives support #15
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, could you add some simple tests?
test/library_directive_test.dart
Outdated
); | ||
}); | ||
|
||
// test('augment library', () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commented out tesf
I removed the augment test. It looks like the parser is not parsing augment libraries correctly. Looks like it hasn't been released to stable yet. |
@bdlukaa thanks for your contribution, released 0.4.0 including it. |
Adds support for
part
,part of
andlibrary
directives. Adds support for theaugment
keyword.Additional resources
https://github.com/dart-lang/language/blob/main/working/augmentation-libraries/feature-specification.md