Commit Graph

48094 Commits

Author SHA1 Message Date
Alexey Tsvetkov d09629972a Use same system property to avoid deleting module file in JPS and Gradle 2018-08-20 23:41:11 +03:00
Ilmir Usmanov d3dbcae7a4 Get rid of typed create and invoke wherever possible
in coroutine lambdas.
 #KT-26243 Fixed
2018-08-20 21:33:24 +03:00
Mikhail Glukhikh 3bdf38e6b2 Refactoring: HasExpectedMarker (use not-null declarations) 2018-08-20 18:42:31 +03:00
Mikhail Glukhikh 8ef2c479e4 Refactoring: HasActualMarker (use not-null declarations) 2018-08-20 18:42:17 +03:00
Mikhail Glukhikh 9b29651371 Has actual (new MPP): handle possible actual in "common" module
Before this commit, we assumed all actual declarations are
in platform modules, and each platform has no more than one actual.
In new MPP, actual declarations can be also in common code,
and each platform as well as common code can include
more than one actual declarations for given expected.

#KT-26217 Fixed
2018-08-20 18:41:32 +03:00
Mikhail Glukhikh 18d43a2fce MPP wizard [web]: do not add Java to JVM module by default
This removes controversial behaviour during Gradle import,
now strange 'main' / 'test' source sets aren't added
2018-08-20 18:41:29 +03:00
Mikhail Glukhikh 41507a4deb MPP wizard [web]: add kotlin-test as dependency to all source sets
#KT-26239 Fixed
2018-08-20 18:41:28 +03:00
Dmitry Petrov b5f37d18b2 Fix inlining of functions with matching JVM signatures in same package
When two functions with matching JVM signatures in the same package
were inlined sequentially, inliner could take a wrong method body from
the cache due to MethodId clash. This manifested with inline classes,
but also was possible with some legal Kotlin overloads with matching
erasure.

Use internal name of the corresponding implementation owner class
instead of FQN of the containing declaration. Such MethodIds can't match
accidentally, because corresponding JVM method signatures would clash.
2018-08-20 14:12:34 +03:00
Mikhail Glukhikh f9bba3ca86 Reformat & cleanup: kotlinSpacingRules 2018-08-20 13:21:28 +03:00
Mikhail Glukhikh 4fd8d3b480 Add formatting rule "new line between { and when entry" 2018-08-20 13:21:22 +03:00
Mikhail Glukhikh ef094e78e3 Add when branches (minor): 'with import' -> 'with * import'
Change name of quick-fix to more descriptive one
2018-08-20 13:21:18 +03:00
Mikhail Glukhikh b031e34f8d Add when branches: include auto-import
Before this commit, enum / sealed class to add was not imported so
user had to import them himself. Now everything is auto-imported.
Separate "add with import" is kept but * import is now in mind there.
#KT-22330 Fixed
#KT-22354 Fixed
EA-108090 Fixed
2018-08-20 13:21:17 +03:00
Mikhail Glukhikh f3972bfdfe Ignore potential KNPE in "import all members" (see KT-22354) 2018-08-20 13:21:15 +03:00
Svyatoslav Kuzmich 7578dbf8f2 [JS BE] KT-22053 Fix constructor delegation of immediate subtype of Error 2018-08-20 12:08:30 +03:00
Dmitry Petrov 5045fa446a Prohibit recursive inline classes 2018-08-20 10:08:10 +03:00
Vitaliy.Bibaev 4f722dd32d Use heuristics for termination calls for java/streamex as well 2018-08-20 05:18:04 +03:00
Vitaliy.Bibaev 1f9004e1ae Minor: rename 'receiver' -> 'receiverValue' 2018-08-20 05:18:04 +03:00
Vitaliy.Bibaev e1acd2e2c5 Use heuristics with call name to avoid redundant types resolve 2018-08-20 05:18:03 +03:00
Vitaliy.Bibaev 9b24600b0f Minor: rename KotlinTypes -> KotlinSequenceTypes 2018-08-20 05:18:03 +03:00
Vitaliy.Bibaev 0ba506c1ec Use partial resolve 2018-08-20 05:18:03 +03:00
Vitaliy.Bibaev 3bc7944e0c Remove commented code 2018-08-20 05:18:03 +03:00
Vitaliy.Bibaev 320cb18746 Remove dependency on stream-debugger plugin from 'idea' project 2018-08-20 05:18:03 +03:00
Vitaliy.Bibaev 5779eacb23 Use KotlinBuiltIns.FQ_NAMES for type names 2018-08-20 05:18:03 +03:00
Vitaliy.Bibaev e158c9191c Mention sequence debugger for 181 and 183 IDEA 2018-08-20 05:18:03 +03:00
Vitaliy.Bibaev db5e6e1ddc Minor: remove redundant field 2018-08-20 05:18:03 +03:00
Vitaliy.Bibaev 57ac7e0fb9 Remove @author JavaDoc from all my files 2018-08-20 05:18:02 +03:00
Vitaliy.Bibaev 55055ce3aa Remove redundant LibraryUtil.kt 2018-08-20 05:18:02 +03:00
Vitaliy.Bibaev c1ebc2788d Minor fixes after inspecting code-style 2018-08-20 05:18:02 +03:00
Vitaliy.Bibaev 2d22267cf1 Apply project code style settings to sequence debugger code 2018-08-20 05:18:02 +03:00
Vitaliy.Bibaev 245a358ea8 Remove unused code 2018-08-20 05:18:02 +03:00
Vitaliy.Bibaev 1986309a07 Set up KotlinPsiChainBuilderTestCase for current environment 2018-08-20 05:18:02 +03:00
Vitaliy.Bibaev c2c09e2ac3 Remove stream ex test to avoid undesirable dependency on streamex lib 2018-08-20 05:18:02 +03:00
Vitaliy.Bibaev 4eb06fb11c Use qualified names of test classes 2018-08-20 05:18:01 +03:00
Vitaliy.Bibaev 490f7bc3d7 Do not generate test cases for ignored tests 2018-08-20 05:18:01 +03:00
Vitaliy.Bibaev 568a664491 Move test classes into 'streams' package in the tiny app 2018-08-20 05:18:01 +03:00
Vitaliy.Bibaev 1a78058cf4 Remove unused OutputChecker 2018-08-20 05:18:01 +03:00
Vitaliy.Bibaev 6db36e7c62 Remove unused code 2018-08-20 05:18:01 +03:00
Vitaliy.Bibaev d4795c0e5d Add generated tests for collections/java streams 2018-08-20 05:18:01 +03:00
Vitaliy.Bibaev cf2c2ed802 Move sequence test data into 'debugger/tinyApp/src/streams/sequence' 2018-08-20 05:18:01 +03:00
Vitaliy.Bibaev db6894f145 Add abstract test cases for collection\java streams tests 2018-08-20 05:18:00 +03:00
Vitaliy.Bibaev 75e5cfca82 Do not use deprecated API 2018-08-20 05:18:00 +03:00
Vitaliy.Bibaev c4a1e32f3d Add 'stream-debugger' plugin as a test dependency 2018-08-20 05:18:00 +03:00
Vitaliy.Bibaev 44b736e846 Generate tests be test data for sequence traces 2018-08-20 05:18:00 +03:00
Vitaliy.Bibaev c0c344210a Enable back dsl test 2018-08-20 05:18:00 +03:00
Vitaliy.Bibaev 895e78d180 Move test data to tinyApp directory 2018-08-20 05:18:00 +03:00
Vitaliy.Bibaev ac4c42cc4b Add extensions to support sequences debugging 2018-08-20 05:17:59 +03:00
Vitaliy.Bibaev aa34d84487 Move files to the correct packages 2018-08-20 05:17:59 +03:00
Vitaliy.Bibaev f90b33424a Add java stream debugger as a dependency 2018-08-20 05:17:59 +03:00
Vitaliy.Bibaev 0fab9e5fa7 Move sequence debugger tests to idea/tests/debugger/sequence directory 2018-08-20 05:17:59 +03:00
Vitaliy.Bibaev 6dda5b0397 Move sequence debugger src to a debugger/sequence directory 2018-08-20 05:17:59 +03:00