Commit Graph

250 Commits

Author SHA1 Message Date
Nikolay Krasko c50e60f90f More mutes for 193 branch
One more test for KT-34689.
2019-11-05 20:13:30 +03:00
Dmitry Gridin f641e2a139 RedundantRequireNotNullCallInspection: should use BodyResolveMode.PARTIAL_WITH_CFA instead of BodyResolveMode.PARTIAL
#KT-34672 Fixed
2019-10-31 19:24:37 +07:00
Nikolay Krasko b3e733ea4f 193: More mutes in 193 (SurroundWithTestGenerated, KT-34689, KT-34542, KT-34672) 2019-10-31 11:11:50 +03:00
Nikolay Krasko f7c775a080 193: Mute tests for find usages in libraries in 193 (KT-34542) 2019-10-31 11:11:50 +03:00
Nikolay Krasko 201859be92 Mute RedundantRequireNotNullCall tests in 193 (KT-34672) 2019-10-31 11:11:49 +03:00
Nikolay Krasko bed2e21a1a Mute CoroutineNonBlockingontextDetectionTest tests in 193 (KT-34659) 2019-10-31 11:11:49 +03:00
Nikolay Krasko 1811b79503 Mute custom navigation tests (KT-34542) 2019-10-31 11:11:48 +03:00
Nikolay Krasko 01d3b8d9c4 Store mute tests database in the code instead of build server 2019-10-28 14:06:06 +03:00
Pavel V. Talanov 375951798e Prepare repository for merge into master 2013-10-29 21:03:29 +04:00
Pavel Talanov 8537254b6f Adapt changes from main repo:
converted enums contain name() method
by Andrey Ponomarev
2013-10-29 21:03:28 +04:00
Pavel Talanov 01a1c75588 Adapt changes from main repo:
Detect @NotNull fields
Detect @NotNull reference in call chains
Enum constants are non-nullable
by Andrey Ponomarev
2013-10-29 21:03:27 +04:00
Pavel Talanov aceeebdcfd Adapt changes from main repo:
Remove @author javadoc by Evgeny Gerashchenko
2013-10-29 21:03:26 +04:00
Hozum f6d367b7d0 Fixed switch statement 2013-10-29 21:03:21 +04:00
Hiroyuki Ikegami 8c66f744b4 fix a bug which is converting from for(;;) to while() 2013-10-29 21:03:18 +04:00
Santeri Hiltunen 55c00b08e7 Made foreach work with nullable iterables 2013-10-29 21:03:17 +04:00
Santeri Hiltunen 475d02a80f Convert Java lists to MutableLists
Java lists were given jet.List type, which is incorrect, since Java
lists are mutable and jet.List is immutable. Fixed test cases.
2013-10-29 21:03:16 +04:00
Aleksi Majander c701da8506 Renamed myParamList to starParamList and fixed tests 2013-10-29 21:03:15 +04:00
hozumi d03e1f5fcb I fixed ArrayWithoutInitializationExpression class for object array and multi
dimension array. And I added 2 tests to check object Initialization.
2013-10-29 21:03:14 +04:00
Santeri Hiltunen 2fb770ab98 Added test case for custom Short class usage 2013-10-29 21:03:13 +04:00
Santeri Hiltunen e1d7c9d42c Fixes to handling of boxed types
Boxed types and primitive types should cooperate properly now with
primitive types in all basic cases. Added tests that verify this.
2013-10-29 21:03:12 +04:00
Santeri Hiltunen b45b0e6c3a Calls to Java's primitive class methods work.
Calls to Java's primitive classes that had the same name as the
corresponding primitive in Kotlin didn't work. Now calls like
Short.valueOf() is turned to java.lang.Short.valueOf() in Kotlin.
2013-10-29 21:03:10 +04:00
Aleksi Majander 1fe978e216 Fixed issue with final variables and overloading 2013-10-29 21:03:09 +04:00
Aleksi Majander de21670851 Fixed the main function signature 2013-10-29 21:03:08 +04:00
Santeri Hiltunen 1874714d84 NonNull annotation on fields makes type non-null 2013-10-29 21:03:08 +04:00
Santeri Hiltunen 453bb8b4f2 Changed CRLF line-endings to LF 2013-10-29 21:03:05 +04:00
Andrey Breslav 81923f76d9 The rest of compilations errors fixed 2013-10-29 21:03:02 +04:00
Andrey Breslav b828aaf733 Migrating to Kotlin M4: Most compilation errors outside AST fixed 2013-10-29 21:02:57 +04:00
Dmitry Jemerov 1bf84a8187 don't generate !! for array access in assignment lvalue 2013-10-29 21:02:52 +04:00
Dmitry Jemerov 47293918fc don't generate nullable type for val with not-null initializer 2013-10-29 21:02:51 +04:00
Dmitry Jemerov 58cf1d47be bangbang in assignment if needed 2013-10-29 21:02:50 +04:00
Dmitry Jemerov 12603cdd81 casts to a primitive types are coercion methods instead 2013-10-29 21:02:50 +04:00
Dmitry Jemerov 152d214870 we don't need no DummyMethodCallExpression 2013-10-29 21:02:49 +04:00
Dmitry Jemerov 192cdd7028 less red-code-inducing handling of nullability with array accesses 2013-10-29 21:02:48 +04:00
Dmitry Jemerov 5be56e15ba catch clause parameter is always not null 2013-10-29 21:02:47 +04:00
Dmitry Jemerov d0b46704d3 merge some more expressions; correctly generate javaClass() call 2013-10-29 21:02:46 +04:00
Dmitry Jemerov c7113e143a qualify access to static members 2013-10-29 21:02:41 +04:00
Dmitry Jemerov 21b280f413 convert .length on arrays to .size 2013-10-29 21:02:40 +04:00
Dmitry Jemerov 5664283a30 comments processing finished 2013-10-29 21:02:39 +04:00
Dmitry Jemerov 4bb3731272 comments support work in progress 2013-10-29 21:02:38 +04:00
Dmitry Jemerov 07fcfe3b42 generate !! if the postfix operator is nullable 2013-10-29 21:02:21 +04:00
Dmitry Jemerov d4c7b7b2b7 'is' operator uses not-null type and doesn't generate parentheses 2013-10-29 21:02:20 +04:00
Dmitry Jemerov dfaa67ab6b no more SureCallChainExpression 2013-10-29 21:02:16 +04:00
Dmitry Jemerov 1ddde183f5 no more conversions in MethodCallExpression 2013-10-29 21:02:14 +04:00
Dmitry Jemerov d5900a58b2 wrappers instead of conversions in binary expressions 2013-10-29 21:02:14 +04:00
Dmitry Jemerov 512e12d26c conversions as wrappers; generate !! instead of sure() (for constructor calls only for now) 2013-10-29 21:02:13 +04:00
Dmitry Jemerov 0375f3dc0f less spam with temp files 2013-10-29 21:02:07 +04:00
Dmitry Jemerov d32aa47e72 fix 2013-10-29 21:02:05 +04:00
Dmitry Jemerov 4a07263908 Function and Constructor converted; no longer emit 'open' modifier for private functions 2013-10-29 21:01:59 +04:00
Dmitry Jemerov 80e678e2ec to compileable state 2013-10-29 21:01:58 +04:00
Dmitry Jemerov 34da39c55b kj2k initial checkin 2013-10-29 21:01:57 +04:00