Commit Graph

25396 Commits

Author SHA1 Message Date
Nikolay Krasko df28d34f0f Ctrl-W works badly for selecting body of multi-line lambda starting with comment (KT-9014)
#KT-9014 Fixed
2015-09-07 18:45:43 +03:00
Nikolay Krasko 3d5c499773 Wrap test failure to FileComparisonFailure 2015-09-07 18:45:42 +03:00
Valentin Kipyatkov 988b42bba8 J2K to not generate obsolete syntax for accessing java class 2015-09-07 17:44:14 +03:00
Svetlana Isakova d58a8437d7 Constraint system now may return partial substitutor 2015-09-07 17:05:40 +03:00
Svetlana Isakova fe34d1673e Exception 'Base expression was not processed: function literal' fixed 2015-09-07 17:05:40 +03:00
Svetlana Isakova 0999d8ea8e Moved 'initial' (renamed from 'topLevel') flag to ConstraintContext 2015-09-07 17:05:39 +03:00
Svetlana Isakova 4f28a0a9a1 KT-8879 Stackoverflow exception on completion from inference
#KT-8879 Fixed
Added ConstraintContext storing 'derivedFrom' variables.
This information is used to prevent infinite recursion:
if a variable was substituted in a type of a bound, it shouldn't be substituted there for the second time.
2015-09-07 17:05:39 +03:00
Ilya Gorbunov 3c5de56e83 Improve diagnostics when test cleanup fails. 2015-09-07 16:45:06 +03:00
Michael Bogdanov 5805c42305 Write abi version to mapping file 2015-09-07 16:29:16 +03:00
Michael Bogdanov d1964f5ff2 Abi version increased 2015-09-07 16:29:16 +03:00
Michael Bogdanov 225cbb417c Gradle support 2015-09-07 16:29:15 +03:00
Michael Bogdanov 0de83b6f4c Default module name extraction 2015-09-07 16:29:15 +03:00
Michael Bogdanov b58479a169 TEST_MODULE_NAME extraction 2015-09-07 16:29:15 +03:00
Michael Bogdanov 49ee4169f3 Package part proto generation fix 2015-09-07 16:29:14 +03:00
Michael Bogdanov 4958116566 RuntimePackagePartProvider.registerModule refactoring 2015-09-07 16:29:14 +03:00
Michael Bogdanov 466b535ba9 Get rid of DeserializedNewPackageMemberScope.kt 2015-09-07 16:29:13 +03:00
Michael Bogdanov cbe42aa0a2 Extracted 'kotlin_module' constant 2015-09-07 16:29:13 +03:00
Michael Bogdanov bbf63aa38c lazy -> storageManager.createLazyValue 2015-09-07 16:29:12 +03:00
Michael Bogdanov 974095313c Catch NoSuchFieldException 2015-09-07 16:29:11 +03:00
Michael Bogdanov 606b39698c Kotlin module name extraction 2015-09-07 16:29:11 +03:00
Michael Bogdanov 2ca9b3ae0e Code clean 2015-09-07 16:29:10 +03:00
Michael Bogdanov 20bb9963b3 smoke test fix 2015-09-07 16:29:10 +03:00
Zalim Bashorov 2f9f5a3cd5 Minor: fix testdata files
(build.log files for incremental compilation tests)
2015-09-07 16:29:09 +03:00
Zalim Bashorov 5193e6a181 Minor fixes in KotlinJpsBuildTest 2015-09-07 16:29:09 +03:00
Zalim Bashorov b8db33722c Generate kotlin_module incrementally and report source files 2015-09-07 16:29:08 +03:00
Zalim Bashorov 879b1a8abb Try to detect target for output items using outputDir when sourceFiles is empty 2015-09-07 16:29:08 +03:00
Zalim Bashorov 01f3710211 Save dependencies of kotlin_module in cache 2015-09-07 16:29:07 +03:00
Zalim Bashorov f48346f272 Introduce IncrementalPackagePartProvider to load unchanged compiled package parts using module mapping info from incremental cache 2015-09-07 16:29:07 +03:00
Zalim Bashorov ec62cccb1a Fix incremental compilation for new package parts 2015-09-07 16:29:06 +03:00
Zalim Bashorov 8e411e7274 Minor: add incrementalCompilationComponents to GenerationState 2015-09-07 16:29:06 +03:00
Michael Bogdanov 13ca5faa80 Code clean 2015-09-07 16:29:06 +03:00
Michael Bogdanov 25234f672a Maven plugin fixes 2015-09-07 16:29:05 +03:00
Michael Bogdanov c31f2eecc1 updated build.xml 2015-09-07 16:29:05 +03:00
Michael Bogdanov 42e4d39083 Support module name in ant task 2015-09-07 16:29:04 +03:00
Michael Bogdanov 2b6ebedc3e onReceiver test fix 2015-09-07 16:29:04 +03:00
Michael Bogdanov b3fc667c1e WrongAbi test data fix 2015-09-07 16:29:03 +03:00
Michael Bogdanov f1c091e897 Serialize mappings via proto 2015-09-07 16:29:03 +03:00
Michael Bogdanov 672d25e7e0 PackagePartProvider refactoring 2015-09-07 16:29:02 +03:00
Dmitry Petrov 5ca8f7409a Fix debugger tests.
- Index binaries by facade class fqName
- Fix DebuggerUtils: should understand new facades
- Refactor IDELightClassGenerationSupport
- Add facadeSimpleName to KotlinFileStub
2015-09-07 16:29:02 +03:00
Dmitry Petrov f9901f6075 Fix decompiler tests.
For now, JVM and JS backends produce different metadata for package facades (and package parts),
and thus different output is expected for JVM and JS decompiler.
Split decompiler tests into common (decompiledText), JVM-specific (decompiledTextJvm),
and JS-specific (decompiledTextJs)
Join them back together if JS backend migrates to JVM-like package model.
2015-09-07 16:29:01 +03:00
Michael Bogdanov 282727b9b2 Fix tests: DecompiledTextForWrongAbiVersionTest
- no package facades, public file facades
2015-09-07 16:29:01 +03:00
Dmitry Petrov aebdaaab46 Fix tests: TextConstistencyBaseTest & DecompiledTextConsistencyTest
- no package facades, public file facades
2015-09-07 16:29:00 +03:00
Michael Bogdanov 0e5a5a2e25 ldifferentTypes test fix 2015-09-07 16:29:00 +03:00
Michael Bogdanov 378740f4be Jps test fix 2015-09-07 16:28:59 +03:00
Michael Bogdanov 47635c19a2 Generate calls through new minifacades 2015-09-07 16:28:59 +03:00
Dmitry Petrov 0289b8e290 Fix tests: ClsStubBuilderTestGenerated should honor new file part generation scheme. 2015-09-07 16:28:58 +03:00
Dmitry Petrov 8e6054f6c7 Fix tests:
- package parts are no longer built;
- test decompiled content for default file facades.
2015-09-07 16:28:58 +03:00
Michael Bogdanov 84649e4b26 Wrong abi test fix 2015-09-07 16:28:57 +03:00
Michael Bogdanov 939f28f293 Jps support 2015-09-07 16:28:57 +03:00
Michael Bogdanov 9e53a0d057 Debugger fix 2015-09-07 16:28:56 +03:00