Commit Graph

10353 Commits

Author SHA1 Message Date
Nikolay Krasko 2b8cac44bb Test for KT-1322 There's no autoimport suggested for traits
#KT-1322 Fixed
2013-04-19 01:10:52 +04:00
Mohammad Shamsi 296bda2e3a Fixed #KT-3379 jet.String.trimLeading and trimTrailing default whitespace trim 2013-04-19 01:10:51 +04:00
Evgeny Gerashchenko 622c1c3790 Reverted optimizing imports. 2013-04-18 22:33:06 +04:00
Evgeny Gerashchenko 7133f20247 Added tests with type parameter of class in SAM adapter. 2013-04-18 22:02:04 +04:00
Evgeny Gerashchenko 8c4e45de9a Supported SAM adapters with type parameters. 2013-04-18 22:01:26 +04:00
Evgeny Gerashchenko db8d285b25 Extracted method recreating type parameters. 2013-04-18 22:01:26 +04:00
Evgeny Gerashchenko f4994969c0 Added tests with type parameter of class in SAM adapter. 2013-04-18 22:01:26 +04:00
Evgeny Gerashchenko e554228a73 Added tests with mixture of SAM and non-SAM parameters. 2013-04-18 22:01:26 +04:00
Evgeny Gerashchenko 7bd11718de Supported simplest cases of SAM adapter in backend. 2013-04-18 22:01:26 +04:00
Evgeny Gerashchenko c5b9c6a7dc Minor. Removed index counter. Renamed variable. 2013-04-18 21:59:49 +04:00
Evgeny Gerashchenko 8f8d284fe1 Added Kotlin external annotations to codegen tests with Java. 2013-04-18 21:59:49 +04:00
Evgeny Gerashchenko be0238a61e Loading SAM adapters with wildcard types. 2013-04-18 21:59:49 +04:00
Evgeny Gerashchenko c8e02f75b0 Supported simplest cases of SAM adapter. 2013-04-18 21:59:49 +04:00
Evgeny Gerashchenko 37eccdb01f Saving "SAM interface" mark when resolving Java class. 2013-04-18 21:59:49 +04:00
Evgeny Gerashchenko 0ae0941e43 Minor. Used util method. 2013-04-18 21:59:48 +04:00
Mikhael Bogdanov 82d7f07cb3 Fixed bug in fix for KT 3492: Bug in bytecode generation for labeled super call from inner class & Property generation refactoring 2013-04-18 18:33:25 +04:00
Andrey Breslav fe4dd2f661 Fix tests (by extracting a method and calling it multiple times) 2013-04-18 17:36:30 +04:00
Andrey Breslav 140382e280 PSI getter fixed: left-hand side of a binary expression can now be null
EA-35976 - IAE: FqNameUnsafe.validateFqName
2013-04-18 16:34:10 +04:00
Mikhael Bogdanov c69e7f059d Duplicated JetTypeMapper.mapSignature removed 2013-04-18 15:03:43 +04:00
Mikhael Bogdanov a1d295638a ExpressionCOdegen.visitSimpleNameExpression simplification 2013-04-18 14:05:15 +04:00
Mikhael Bogdanov 1fd76845ad Regression test for kt3315 2013-04-17 18:55:04 +04:00
Leonid Shalupov a024facf95 Merge pull request #248 from nskvortsov/master
Fix test
2013-04-17 07:49:58 -07:00
Nikita Skvortsov d44fd866c0 Fix gradle integration test - avoid Maven local repository reference 2013-04-17 18:46:54 +04:00
Zalim Bashorov a4c02da10d Merge pull request #244 from lopekpl/type_mismatch3
QuickFix for EXPECTED_PARAMETER/RETURN_TYPE_MISMATCH
2013-04-17 07:35:08 -07:00
Wojciech Lopata d396c08454 QuickFix for EXPECTED_PARAMETER/RETURN_TYPE_MISMATCH (ChangeTypeFix) 2013-04-17 15:28:57 +02:00
Andrey Breslav edbbc6ec7b Unused method removed 2013-04-17 17:11:21 +04:00
Andrey Breslav 12cd0675bc A module can look up a namespace (package view) by FqName 2013-04-17 17:11:20 +04:00
Andrey Breslav e88875eb20 Unused method removed 2013-04-17 17:11:20 +04:00
Andrey Breslav 4faf17d254 Unused import removed 2013-04-17 17:11:20 +04:00
Andrey Breslav 3a83361780 Factory method removed from DefaultModuleConfiguration 2013-04-17 17:11:19 +04:00
Andrey Breslav 3de0e68b0b KotlinBuiltIns use EMPTY moduleConfiguration 2013-04-17 17:11:19 +04:00
Andrey Breslav fcb7d7ddcb Methods reordered, assertion added 2013-04-17 17:11:19 +04:00
Andrey Breslav b89dc314c8 getPlatformToKotlinClassMap() removed from ModuleConfiguration 2013-04-17 17:11:19 +04:00
Andrey Breslav 4111e78ac2 ModuleDescriptor stores a PlatformToKotlinClassMap 2013-04-17 17:11:18 +04:00
Andrey Breslav 2e710d7462 getDefaultImports() removed from ModuleConfiguration 2013-04-17 17:11:18 +04:00
Andrey Breslav f3656bcadd ModuleDescriptor stores default imports 2013-04-17 17:11:18 +04:00
Andrey Breslav d5a4a67a86 DefaultModuleConfiguration made a singleton, ALL_JAVA_IMPORTS constant introduced 2013-04-17 17:11:17 +04:00
Andrey Breslav a72e49d8f7 Use ModuleDescriptor instead of ModuleConfiguration 2013-04-17 17:11:17 +04:00
Andrey Breslav e29418cde5 ModuleDescriptor stores a ModuleConfiguration 2013-04-17 17:11:17 +04:00
Andrey Breslav 2e44996cd0 ModuleDescriptor interface extracted 2013-04-17 17:11:16 +04:00
Leonid Shalupov 11568a6ec7 Merge pull request #247 from nskvortsov/master
Fix missing Kotlin tests
2013-04-17 06:03:29 -07:00
Natalia.Ukhorskaya f2b3be7416 Unify properties initialization for init and clinit 2013-04-17 16:18:10 +04:00
Nikita Skvortsov b74ae00b9f fix for KT-3490 copy Kotlin classes to resulting classes directory 2013-04-17 16:04:48 +04:00
Mikhael Bogdanov 57b161b08a KT-3500: ClassFormatError: Duplicate method name&signature in class file && KT-3429: Traits override bug 2013-04-17 15:23:33 +04:00
Mikhael Bogdanov 3da3f94b4e KT 3492: Bug in bytecode generation for labeled super call from inner class & Property generation refactoring 2013-04-17 15:23:33 +04:00
Mikhael Bogdanov 8a14087c91 Refactoring: property processing generalization 2013-04-17 15:23:33 +04:00
Mikhael Bogdanov 0ba38b9f09 Removed code duplication and unnecessary branch 2013-04-17 15:23:33 +04:00
Mikhael Bogdanov 48d153e8b2 General class for Field, Property, FieldForSharedVar extracted 2013-04-17 15:23:33 +04:00
Andrey Breslav a514d76116 Optimization: Unneeded collection creation eliminated 2013-04-17 13:49:47 +04:00
Andrey Breslav da2d417662 Optimization: no need to build a set of all supertypes, if we only need to check whether there's a nullable one 2013-04-17 13:49:47 +04:00