Support trailing comma
^KT-34743 Fixed
This commit is contained in:
+1
@@ -1,4 +1,5 @@
|
||||
// "Create property 'foo' as constructor parameter" "true"
|
||||
// ERROR: The feature "trailing commas" is only available since language version 1.4
|
||||
// ERROR: No value passed for parameter 'foo'
|
||||
|
||||
class A<T>(val n: T)
|
||||
|
||||
Vendored
+1
@@ -1,4 +1,5 @@
|
||||
// "Create property 'foo' as constructor parameter" "true"
|
||||
// ERROR: The feature "trailing commas" is only available since language version 1.4
|
||||
// ERROR: No value passed for parameter 'foo'
|
||||
|
||||
class A<T>(val n: T, val foo: A<Int>)
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Create property 'foo' as constructor parameter" "true"
|
||||
// ERROR: The feature "trailing commas" is only available since language version 1.4
|
||||
// ERROR: No value passed for parameter 'foo'
|
||||
|
||||
class A<T>(val n: T)
|
||||
|
||||
Vendored
+1
@@ -1,4 +1,5 @@
|
||||
// "Create property 'foo' as constructor parameter" "true"
|
||||
// ERROR: The feature "trailing commas" is only available since language version 1.4
|
||||
// ERROR: No value passed for parameter 'foo'
|
||||
|
||||
class A<T>(val n: T, var foo: String)
|
||||
|
||||
Reference in New Issue
Block a user