Commit Graph

58105 Commits

Author SHA1 Message Date
Vladimir Dolzhenko cd32c06df8 Don't grab ref to DeclarationDescriptor into LookupElement, KT-33898 2019-10-08 12:48:33 +02:00
Yan Zhulanow a4c8ccee06 kapt: Fix compilation in 'compile' running mode (KT-33800) 2019-10-08 19:13:57 +09:00
Yan Zhulanow 66758472c7 Fix EA-209316: Allow null JDI values in captured value data 2019-10-08 19:13:56 +09:00
Yan Zhulanow d153aa87a8 Fix EA-126019: Handle 'null' PsiType as nullable Any in "Create" actions 2019-10-08 19:13:56 +09:00
Yan Zhulanow 472ec72eb9 Refactor debugger tests
1. Move tests to their own module
2. Avoid sharing the 'tinyApp' project between tests
3. Clean up option directive handling
2019-10-08 19:13:56 +09:00
Yan Zhulanow d8d81c51d7 Move debugger test data to the new location 2019-10-08 19:13:55 +09:00
Yan Zhulanow b4cc5703de Minor: Reformat several IDEA debugger tests 2019-10-08 19:13:53 +09:00
Yan Zhulanow 6b2b66e8e3 Run configurations: Fix compatibility with 2018.3 2019-10-08 18:17:07 +09:00
Yan Zhulanow 44b7a5cc36 Make KotlinFacetSettingsProvider.getInstance() nullable
A module may not have a KotlinFacet.
It isn't correct to throw an exception in that case.
2019-10-08 18:17:06 +09:00
Yan Zhulanow f408c249f1 Implement class/method run configurations for MPP projects 2019-10-08 18:17:06 +09:00
Yan Zhulanow 0a8f15c745 Generify Gradle importing tests so they can be used in the Ultimate repo 2019-10-08 18:17:06 +09:00
Yan Zhulanow 82c88f9cc4 Disable alternative locations for new MPP as alternative locations aren't supported in Gradle 2019-10-08 18:17:05 +09:00
Yan Zhulanow 8f4063b36c Implement test icon provider for 'native' platform 2019-10-08 18:17:05 +09:00
Yan Zhulanow c19d62af73 Pill: Disable Pill for benchmarks module 2019-10-08 18:17:04 +09:00
Yan Zhulanow 339ba499fb Pill: Add IDEA Ultimate run configuration 2019-10-08 18:17:04 +09:00
Nikolay Krasko 8cda36ef15 Fix IdeLightClassTestGenerated tests for idea <= 191 2019-10-08 01:04:54 +03:00
Steven Schäfer e25a09f2f9 JVM IR: Fix local delegated properties with inline class types 2019-10-07 17:12:30 +02:00
Vyacheslav Gerasimov 24a8e1cd9c Build: Fix maven dependencies for compiler daemon and util-klib-metadata artifacts 2019-10-07 15:18:38 +02:00
pyos cd47c11efd Generate unique parameter names in LocalDeclarationsLowering 2019-10-07 15:14:48 +02:00
Mads Ager 3b2843fe7a Introduce local variable type checker.
CheckLocalVariablesTableTests will now check the validity of
the locals table against types of locals computed based on the
bytecode.

These checks and the new destructuringInFor test act as a
regression test for the changes in
https://github.com/JetBrains/kotlin/pull/2613

These checks also caught a similar issue for destructuring
lambda parameters, where the local is introduced before the
value has been written to the local slot. This change also
fixes that.

Finally, this change fixes the asmLike tests to correctly
look up the name of parameters in the locals table.
2019-10-07 15:06:44 +02:00
Mikhael Bogdanov 13b69b730a Regenerate JS tests 2019-10-07 14:53:54 +02:00
Nikolay Krasko 080407e8e6 Separate versions for 192 and 193 plugins (KT-34191)
#KT-34191 Fixed
2019-10-07 15:00:05 +03:00
Steven Schäfer 3659b517bb Minor: Fix some test cases 2019-10-07 12:54:11 +02:00
pyos 6e9ee2a46c JVM_IR: fix const reads from other files in same module 2019-10-07 12:28:55 +02:00
Toshiaki Kameyama eda4206428 New J2K: convert Integer.MAX_VALUE to Int.MAX_VALUE
#KT-7940 Fixed
2019-10-06 01:09:33 +03:00
Steven Schäfer 0b76f60b63 JVM IR: Handle NonInlinedConst 2019-10-05 10:52:59 +02:00
Jiaxiang Chen e40636f6ab re-generate for debug information tests 2019-10-05 10:41:11 +02:00
Jiaxiang Chen 74e4e8b18e enable test generator to generate tests using JUnit 4 infrastructure 2019-10-05 10:41:11 +02:00
Jiaxiang Chen 2c78f1fe85 debug information test: instantiate a single thread for all tests under same test class 2019-10-05 10:41:11 +02:00
Jiaxiang Chen 0a2812f83b Add a JVM backend debug information test, this commit is for verifying
line numbers for stepping.

Running JVM instance and read stepping events from it to verify with the
test data.
2019-10-05 10:41:11 +02:00
Anton Yalyshev f17e9ba9fe Return older android.tools.build version, as we have problems with newer one 2019-10-04 20:43:44 +03:00
Vyacheslav Gerasimov daa25dd56a 193: Fix AbstractResolveByStubTest fixture configuration 2019-10-04 20:23:02 +03:00
Vyacheslav Gerasimov a5d668a093 193: Fix AbstractInlineTest fixture configuration 2019-10-04 20:23:02 +03:00
Vyacheslav Gerasimov c07833f13a 193: Fix AbstractNameSuggestionProviderTest fixture configuration 2019-10-04 20:23:02 +03:00
Vyacheslav Gerasimov 04ee38c913 193: Fix AbstractParameterInfoTest fixture configuration 2019-10-04 20:23:02 +03:00
Vyacheslav Gerasimov 1392e7574c 193: Fix AbstractKotlinGotoTest fixture configuration 2019-10-04 20:23:01 +03:00
Vyacheslav Gerasimov 98f8e0c800 193: Fix code fragment tests fixture configuration 2019-10-04 20:23:01 +03:00
Mikhail Glukhikh f7d12efc24 Memoize absent classifier names in FIR star importing scopes 2019-10-04 19:05:15 +03:00
Mikhail Glukhikh 6d8aa69878 FIR: rename CallResolver to FirTowerResolver 2019-10-04 19:02:52 +03:00
Mikhail Glukhikh 16de3257d5 FIR abstract importing scope: return NONE when we have no top-level callables 2019-10-04 18:59:12 +03:00
Mikhail Glukhikh 7ba40ac963 Memoize absent function/property names in FirSuperTypeScope 2019-10-04 18:59:12 +03:00
Mikhail Glukhikh 840ecf1a77 Don't enter twice top-level scopes w/out particular name in FIR tower resolver 2019-10-04 18:59:11 +03:00
Mikhail Glukhikh e276e8d9f3 Don't enter twice local scopes w/out particular name in FIR tower resolver 2019-10-04 18:59:11 +03:00
Mikhail Glukhikh e48428d39d FIR ScopeSession: use HashMap instead of LinkedHashMap 2019-10-04 18:59:11 +03:00
Mikhail Glukhikh 813e35643c FIR resolve: fix constructor handling in qualifier scope
Constructors aren't more visited twice in regular scopes
2019-10-04 18:59:10 +03:00
Mikhail Glukhikh 26e8202771 FIR: add 'isInner' parameter to constructors
This is helpful because inner class constructors are resolved in a bit
different way (like non-static vs static)
2019-10-04 18:59:10 +03:00
Anton Bannykh aad9cbbf01 [JS IR BE] Fix tests failing due to reduced runtime 2019-10-04 17:30:45 +03:00
Ilya Goncharov b2fb81e9cc Temp ignore tests on missing source file
#KT-32319 fixed
2019-10-04 17:12:15 +03:00
Ilya Goncharov 6688df8f6a Fix webpack delimiter and add test on short path in stack trace 2019-10-04 17:10:13 +03:00
Ilya Goncharov f7ba1c56e2 Source-map-loader resolves relative paths into absolute even
- Now event sources with content in source map should be resolved with absolute path
2019-10-04 17:10:13 +03:00