Commit Graph

55589 Commits

Author SHA1 Message Date
Mikhail Glukhikh 5f896936ae Fix broken test (related to "Convert to lazy property") 2019-06-17 11:06:38 +03:00
Natalia Selezneva 20d19ee66f Temporary workaround for ProcessCanceledException that may happen during dependencies update
This happens during finding script definition (especially during virtual file to psi file search)
In this case dependencies may be already saved to cache, so makeRootChangeEvent should be generated, otherwise indexes aren't updated and highlighting in the script can be broken
2019-06-17 10:30:58 +03:00
Natalia Selezneva 233c37db57 Scripts: provide more concrete scope for files from script dependencies 2019-06-17 10:30:58 +03:00
Natalia Selezneva 213b0a37d1 Do not include jdks dependencies into run configuration of script
^KT-25187 Fixed
2019-06-17 10:30:57 +03:00
Natalia Selezneva 151c12dd85 Scripts: clear modification stamps cache when script dependencies cache is cleared
Otherwise it prevents script dependencies reloading
It may occur when script definitions are reloaded, cache is cleared, but dependencies aren't reloaded

^KT-31826 Fixed
2019-06-17 10:30:57 +03:00
Natalia Selezneva 2b748ccd9a Scripts: if sdk isn't use for some module in project, PsiElementFinder doesn't return jdk classes
For example in Android project all modules can have AndroidSDK, but JavaSDK can be set as ProjectSdk
In this case build.gradle.kts couldn't resolve jdk classes
2019-06-17 10:30:56 +03:00
Natalia Selezneva a69b5345d5 Fix RunConfigurationTest 2019-06-17 10:30:56 +03:00
Natalia Selezneva 39f6a6b249 Scripts: replace notification with traffic light icon
When script dependencies aren't loaded yet prevent editor to show green arrow in the top right corner.
Now pause is shown with the correct status
Remove tray notification as obsolete

^KT-31779 Fixed
2019-06-17 10:30:56 +03:00
Denis Zharkov fdebb38706 Disable slow assertions in type checker everywhere except for tests 2019-06-17 10:29:23 +03:00
Dmitry Gridin 46d8f45c11 Apply LiftReturnOrAssignmentInspection on idea 2019-06-17 11:24:28 +07:00
Toshiaki Kameyama 05a132357b Lift assignment: suggest for assignment of null
#KT-30191 Fixed
 #KT-28595 Fixed
2019-06-17 11:24:28 +07:00
Toshiaki Kameyama 4b4be07942 Add Inspection for lateinit var overrides another lateinit var
#KT-30775 Fixed
2019-06-17 01:28:55 +03:00
Toshiaki Kameyama fbd992f8c7 Add intentions to convert lazy <--> ordinary property
#KT-23501 Fixed
2019-06-17 01:10:19 +03:00
Toshiaki Kameyama a2205cfc98 Add "'equals()' between objects of inconvertible types" inspection
#KT-25006 Fixed
2019-06-17 01:09:54 +03:00
Ilya Gorbunov a1979677d0 Docs: mark all experimental annotations as MustBeDocumented
So that they are shown in the docs of annotated experimental API
2019-06-15 16:37:45 +03:00
Ilya Gorbunov a55563f5ec Docs: suppress docs for newly introduced hidden API 2019-06-15 16:37:44 +03:00
Kirill Shmakov ae45bbcead Explicit misconfiguration signalization 2019-06-15 12:47:56 +03:00
Kirill Shmakov 47afd9ec1c Remove ultimate dir 2019-06-15 11:27:37 +03:00
Kirill Shmakov 0df8b7f610 Support ultimate transition
KOTLIN-CR-3025
2019-06-15 11:25:43 +03:00
Nicolay Mitropolsky a1e9259465 Revert "Remove broken 192 bunch files"
They are not broken anymore as long as we build with "real" IDEA 192
This reverts commit 67a194fa
2019-06-14 20:05:23 +03:00
Nicolay Mitropolsky 2a5be78db3 Kotlinx-coroutines version set to 1.2.1 for IDEA 192 2019-06-14 20:05:23 +03:00
Vyacheslav Gerasimov 55f86af67f Build: Fix test runtime for source-sections-compiler-plugin tests 2019-06-14 19:42:28 +03:00
Vyacheslav Gerasimov 986e1ceefb Build: Fix test runtime for sam-with-receiver-compiler-plugin tests 2019-06-14 19:38:13 +03:00
Nikolay Krasko 61a6c646ab Explicitly call virtual method to be compatible with 192 branch 2019-06-14 19:30:43 +03:00
Roman Artemev 8015152bfc [JS IR BE] Support JS IR in maven plugin 2019-06-14 18:41:00 +03:00
Roman Artemev cc46657c99 [JS IR BE] Fix misprint 2019-06-14 18:40:59 +03:00
Roman Artemev 6d2ad63db3 [IR] Support IrLocalDelegatedPropertyReference in klib 2019-06-14 18:40:59 +03:00
Roman Artemev 008cf03b06 [IR] Consider TypeParameter as public declaration and serialize it properly
- Add test case when TypeParameter of generic property is exposed outside its module
2019-06-14 18:40:59 +03:00
Roman Artemev efaf5a9947 [IR] Fix serialization of ENUM_SPECIAL members 2019-06-14 18:40:59 +03:00
Vyacheslav Gerasimov e32bbcecc2 Build: Fix test runtime for kotlinx-serialization-compiler-plugin tests 2019-06-14 18:18:08 +03:00
Vyacheslav Gerasimov 5a664a86a8 Build: Fix test runtime for kotlin-scripting-compiler tests 2019-06-14 18:10:24 +03:00
Vyacheslav Gerasimov 52303d65ab Build: Fix test runtime for kotlinp tests 2019-06-14 18:06:04 +03:00
Vyacheslav Gerasimov f18b3bcfda Build: Fix test runtime for descriptors tests 2019-06-14 17:59:17 +03:00
Alexander Gorshenev a816de4865 Added a test for members of EnumEntry in a library. 2019-06-14 17:12:39 +03:00
Alexander Gorshenev d13b350716 Don't serialize descriptor references for EnumEntry members 2019-06-14 17:12:39 +03:00
Vyacheslav Gerasimov 33a5a3ff81 Build: Fix test runtime for incremental compilation tests 2019-06-14 17:09:36 +03:00
Natalia Selezneva fea3001dac Fix target platform for scripts
^KT-31837 Fixed
2019-06-14 12:27:21 +03:00
Natalia Selezneva 8d6bbb9e2e Check that file is in common module sources before enlarging its scope
This is needed for build.gradle.kts files that are in module content, but not is source
2019-06-14 12:27:21 +03:00
Toshiaki Kameyama b650c7ab00 Add "Redundant empty initializer block" inspection
^KT-5008 Fixed
2019-06-14 12:27:21 +03:00
Dmitry Gridin c155bf680f MoveVariableDeclarationIntoWhenInspection should move caret to subject expression
#KT-31954 Fixed
2019-06-14 15:28:06 +07:00
Yan Zhulanow a9057e914b Move back the hardcoded artifacts needed for JPS build 2019-06-14 17:13:50 +09:00
Sergey Rostov 99275deb30 JPS Build: fix building buildSrc 2019-06-14 10:21:05 +03:00
Vyacheslav Gerasimov 9f5b1a5101 Build: Fix runtime for generateFullRuntimeKLib 2019-06-14 01:06:06 +03:00
Vyacheslav Gerasimov c4e33728a8 Build: Fix test runtime for gradle plugin tests 2019-06-14 00:44:36 +03:00
Vyacheslav Gerasimov dc2a7fdc13 Build: Fix compiler tests, add missing test runtime dependencies 2019-06-14 00:35:01 +03:00
Toshiaki Kameyama 5dd0110a59 Use safe cast 2019-06-13 23:16:31 +03:00
Toshiaki Kameyama 0fad3fafa8 Replace deprecated symbol usage: fix message in case of generic parameter
#KT-8958 Fixed
2019-06-13 23:16:31 +03:00
Vyacheslav Gerasimov e8e457a16c Build: Fix uast compilation against 192 platform 2019-06-13 21:57:57 +03:00
Ilya Gorbunov 1960161e78 Exclude inline reified functions and properties from public API
Public inline reified functions are getting into public API dump after
changing their visibility generation strategy (see KT-18563)
from always private to public synthetic. However, they still do not
constitute public binary API, since they can be removed without breaking
compatibility with an already compiled code.
2019-06-13 21:23:21 +03:00
Vyacheslav Gerasimov 95a71f60ca Build: Fix Ide performance tests configuration for jps build 2019-06-13 21:03:55 +03:00