-
Notifications
You must be signed in to change notification settings - Fork 31
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
Fill function call arguments #17
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.
@t-kameyama
Thank you for great job !
Almost LGTM but I pointed out one.
@@ -68,7 +62,7 @@ class FillClassIntention : SelfTargetingIntention<KtValueArgumentList>(KtValueAr | |||
KotlinBuiltIns.isListOrNullableList(type) -> "emptyList()" | |||
KotlinBuiltIns.isSetOrNullableSet(type) -> "emptySet()" | |||
type.isMarkedNullable -> "null" | |||
else -> null | |||
else -> "TODO()" |
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.
I think TODO()
is not preferable. Because this may cause unintentional runtime error if programmer doesn't notice it.
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.
Fixed
"Please, add `<caret>` marker to\n$before" | ||
} | ||
} | ||
} |
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.
thank you for adding tests!
Great Job 🍻 🍻 🍻 🍻 🍻
@t-kameyama Thanks! |
to