Commit Graph

58092 Commits

Author SHA1 Message Date
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
Ilya Goncharov f3db846bce Add tests for source-map-loader 2019-10-04 17:10:13 +03:00
Ilya Goncharov e8efe5407d Add patched kotlin-source-map-loader 2019-10-04 17:10:13 +03:00
Vyacheslav Gerasimov dad9958adf 193: Fix test fixture configuration
Path to test data file should be relative to test data directory
2019-10-04 17:04:54 +03:00
Vyacheslav Gerasimov 3f1d3dab14 193: Request StubComputationTracker as component from project
Fixes assert:
com.intellij.testFramework.LoggedErrorProcessor$TestLoggerAssertionError: org.jetbrains.kotlin.asJava.builder.StubComputationTracker requested as a service, but it is a component - convert it to a service or change call to project.getComponent()
2019-10-04 17:04:54 +03:00
Anton Yalyshev fa9125df7d Set JVM 1.8 for test source set as well #KT-34154 Fixed 2019-10-04 16:19:59 +03:00
Ilya Goncharov d2c2128aad Fix test logging for Windows 2019-10-04 15:19:50 +03:00
Ilya Kirillov f950a0246c New J2K: handle correctly short names which are imported by default in kotlin (like List or Result)
Kotlin default import inserter was unable to correctly insert such imports

#KT-34165 fixed
2019-10-04 15:17:35 +03:00
Ilya Kirillov 81341e3fd3 New J2K: add hack for incorrect comment parsing in J2K (KT-16845)
#KT-33825 fixed
2019-10-04 15:17:35 +03:00
Alexey Kudravtsev 008b916755 avoid unnecessary usage of private API class HighlightSession 2019-10-04 15:14:39 +03:00
pyos 354e5d86ee JVM_IR: use correct descriptor type in JvmStaticAnnotationLowering 2019-10-04 15:06:29 +03:00
Ilya Goncharov 1f5a760ac8 Add typings field for DtsResolver
#KT-33549 fixed
2019-10-04 11:57:38 +03:00
Pavel Kirpichenkov b7e5d9faae Update annotation rendering in diagnostics
Disable annotation rendering in default type and descriptor renderers.
Preserve annotations in Android and Serialization plugins.
Update error texts in ide tests.
Nullability annotations in Java descriptors are rendered with context-dependent renderer.

#KT-20258 Fixed
2019-10-04 11:18:45 +03:00
Kirill Shmakov 2a99687a95 Advance 193 bunch to 193.4099 2019-10-04 10:47:12 +03:00