Alexander Udalov
a7b88e9485
Make CharSequence.length a function instead of property
...
And String.length as well.
This is done for JVM interoperability: java.lang.CharSequence is an open class
and has a function 'length()' which should be implemented in subclasses
somehow.
A minor unexpected effect of this is that String.length() is now a compile-time
constant (it wasn't such as a property because properties are not supported in
compile-time constant evaluation)
#KT-3571 Fixed
2014-11-27 20:38:17 +03:00
Wojciech Lopata
58a8c0ed08
QuickFix for DANGLING_FUNCTION_LITERAL_ARGUMENT_SUSPECTED
2013-02-21 16:00:24 +01:00
Nikolay Krasko
83d0e8ebb5
- Merge https://github.com/JetBrains/kotlin/pull/90
...
- Move introduce and remove !! call to one class
2012-07-02 20:41:18 +04:00
Sergey Lukjanov
d879827371
Test for "unnecessary non-null assertion quickfix should not displayed for 'value!!.foo()' case" has been added.
2012-07-02 20:41:17 +04:00
Nikolay Krasko
bade0e0275
Check that quick fixes don't produce new errors
2012-06-27 17:41:21 +04:00
Sergey Lukjanov
4478f2dc4a
Test for unnecessary non-null assertion fixed
2012-06-20 13:06:53 +04:00
Sergey Lukjanov
a4584e96d7
Tests has been added
2012-06-18 18:47:32 +04:00
svtk
4272dafc36
ReplaceCallFix instead of two ReplaceDotCallWithSafeCall & ReplaceSafeCallWithDotCall
2011-12-27 19:21:33 +04:00
svtk
7f46ed8e53
added fix "replace dot call with safe call" (from Sergey Ignatov)
2011-12-27 17:44:35 +04:00
Nikolay Krasko
0c758902ef
KT-621 Remove .foo() pattern matching from when (Some tests were rewritten)
2011-11-25 17:39:16 +04:00
svtk
f7950f9469
rename
2011-10-25 17:40:36 +04:00
svtk
7f815176f6
Added more quickfixes; added tests
2011-09-21 17:58:44 +04:00