-
Notifications
You must be signed in to change notification settings - Fork 21
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
Change the language grammar to allow a trailing comma in "import" selectors #4986
Comments
Imported From: https://issues.scala-lang.org/browse/SI-4986?orig=1 |
@paulp said: |
Benoit Sigoure (tsuna) said: I'm also in the code generation camp, having to deal with "output the comma except if it's for the last element" is really annoying. Granted it's simple to work around, but it's just wasted time. |
Mikhail Trishchenkov (kriomant) said:
Let's comment last line:
Ooops, syntax error, fix:
Ok, add new line:
Damn, I always forget to add comma to previous line! |
Erik Allik (eallik) said:
same here. |
@gkossakowski said: |
Erik Allik (eallik) said (edited on Nov 18, 2013 6:48:09 PM UTC): |
G. Ralph Kuntz, MD (grkuntzmd) said (edited on Nov 18, 2013 6:56:09 PM UTC): |
Chris Martin (chris-martin) said: .
foo(
one,
two,
+ three,
) versus .
foo(
one,
- two
+ two,
+ three
) |
Gabriel Jones (AEthyrSurfer) said: |
Gabriel Jones (AEthyrSurfer) said: |
Gabriel Jones (AEthyrSurfer) said: |
Gabriel Jones (AEthyrSurfer) said: |
Eran Medan (eranation) said: |
@dwijnand said: |
@SethTisue said: |
Change the grammar for ImportSelectors to allow a trailing comma. These will facilitate generation by tools and allow easier sorting of the values.
The text was updated successfully, but these errors were encountered: