Commit Graph

9866 Commits

Author SHA1 Message Date
Svetlana Isakova 12d8a90b3e invoke equalsOrContainsAsArgument
instead of dependsOnTypeConstructors
2013-03-07 13:11:22 +04:00
Svetlana Isakova 87592e5141 rename 2013-03-07 13:11:22 +04:00
Svetlana Isakova d7412ecd9f fixed test data
type mismatch with nothing (after change in ConstraintSystemImpl)
render 'CANT_INFER' type as '???'
2013-03-07 13:11:21 +04:00
Svetlana Isakova 1d55e359a5 complete type inference(*) for variable as function call as well
* dependent on expected type
+ get rid of instanceof ResolvedCallImpl check
2013-03-07 13:11:21 +04:00
Svetlana Isakova fe82ea5464 reverted: adopt to broken inference 2013-03-07 13:11:21 +04:00
Svetlana Isakova 0530df6f7b use TypeCheckingProcedure for generating constraints
(in ConstraintSystemImpl)
2013-03-07 13:11:21 +04:00
Natalia.Ukhorskaya 871caaaa2d Fix android tests 2013-03-07 12:27:02 +04:00
Natalia.Ukhorskaya 3cb3f00562 IDE: folding imports 2013-03-07 12:25:47 +04:00
Zalim Bashorov 220682afe2 fixed mapping sort and max functions from java.util.Collections 2013-03-06 19:16:14 +04:00
Zalim Bashorov dd7d584478 Added some tests for JS implementation of HashMap#values() (#KT-3035) 2013-03-06 19:16:14 +04:00
Natalia.Ukhorskaya 02c8989b2f Top level functions inside module should be invoked using package$src class 2013-03-06 16:22:52 +04:00
Natalia.Ukhorskaya 4d51572482 Extract method 2013-03-06 16:22:48 +04:00
Natalia.Ukhorskaya d501e8821c Move top level properties from package class to package$src 2013-03-06 16:22:44 +04:00
Natalia.Ukhorskaya 4bfdeffd0b Make getContainingFile return null if it isn't JetFile 2013-03-06 16:22:41 +04:00
Natalia.Ukhorskaya d9739fb5bb Remove usages of isMultiFileNamespace 2013-03-06 16:22:37 +04:00
Natalia.Ukhorskaya faf994d872 Generate package$src files for each package 2013-03-06 16:22:33 +04:00
Natalia.Ukhorskaya a9415204f6 Replace "." with "_" in package$src class name 2013-03-06 16:22:18 +04:00
Wojciech Lopata 75528e0a4a KT-3378 "Type mismatch on override" not present when the initializer is syntactically incorrect
#KT-3378 Fixed
2013-03-06 15:18:37 +04:00
Wojciech Lopata 09c3edcbc7 'hasSyntaxErrors' check moved from Diagnostic to PositioningStrategy
This makes possible to mark diagnostic errors when syntax error are present (by overriding isValid in PositioningStrategy subclasses).
2013-03-06 15:18:36 +04:00
Andrey Breslav 7e5794cc7f A common method extracted 2013-03-06 12:53:14 +04:00
Andrey Breslav 7107288f88 Injectors regenerated 2013-03-06 12:53:14 +04:00
Andrey Breslav deda45135e Generating imports after all usages were generated 2013-03-06 12:53:13 +04:00
Andrey Breslav 47d1ea2770 Migrated to Printer 2013-03-06 12:53:13 +04:00
Andrey Breslav ac981915a1 Imports are tracked when types are used 2013-03-06 12:53:10 +04:00
Andrey Breslav f7de41ea1b The rudimentary support for lazy injection removed 2013-03-06 12:52:49 +04:00
Andrey Breslav 7df84101d4 Parts of DependencyInjectorGenerator moved out 2013-03-06 12:52:48 +04:00
Andrey Breslav 3920028fe5 Initial support for factory methods 2013-03-06 12:52:44 +04:00
Andrey Breslav 84ff885f72 Constructor body generation extracted as a method (+ migrated to Printer for convenience) 2013-03-06 12:51:02 +04:00
Andrey Breslav e26efb4e4d Printer now supports any appendable + separated lists 2013-03-06 12:51:02 +04:00
Andrey Breslav 70f44244f9 Refactoring: dependency computations isolated in a separate class 2013-03-06 12:50:50 +04:00
Evgeny Gerashchenko 89407fdcb2 Cleanup in quickfix code. 2013-03-06 00:04:22 +04:00
Jack Zhou 738a874334 Added quickfix for PLATFORM_CLASS_MAPPED_TO_KOTLIN. 2013-03-06 00:04:22 +04:00
Wojciech Lopata cee45f6a0a QuickFix for OVERRIDING_FINAL_MEMBER 2013-03-05 23:32:52 +04:00
Wojciech Lopata 08ce27e97e Fix typo in JetBundle.properties 2013-03-05 23:32:38 +04:00
Evgeny Gerashchenko 0f83c8297e Added corner case test for int range iteration. 2013-03-05 14:58:43 +04:00
Wojciech Lopata 237be539b3 QuickFix for RETURN_TYPE_MISMATCH_ON_OVERRIDE and PROPERTY_TYPE_MISMATCH_ON_OVERRIDE. 2013-03-05 14:52:43 +04:00
Wojciech Lopata a880b2a699 Add removeTypeAnnotation(JetFunction function) utility. 2013-03-05 14:52:42 +04:00
Evgeny Gerashchenko 3ec9cd817f Regenerated test data. 2013-03-05 13:56:04 +04:00
Andrey Breslav bb9c6b7b88 Logging fqNames in exception messages 2013-03-05 13:36:35 +04:00
Evgeny Gerashchenko 20fa0a3cd1 Added test with class referencing self in upper bound. 2013-03-05 13:33:11 +04:00
Evgeny Gerashchenko 578503c4cd EA-41980 - assert: SignaturesPropagationData.getSuperFunctionsForMethod 2013-03-05 13:33:11 +04:00
Zalim Bashorov 61217a36e7 Merge pull request #145 from tomhal/maps.js-changes
Prevent infinite loop when HashMap is empty and values() method is called
#KT-3035 Fixed
2013-03-05 00:59:51 -08:00
Evgeny Gerashchenko c93df9fd9d Got rid of deprecated method. 2013-03-04 18:54:06 +04:00
Evgeny Gerashchenko e2a13da325 Disabled part of IoTest.listFiles on Windows. 2013-03-04 18:54:05 +04:00
Evgeny Gerashchenko 2ac218e084 Made addToClasspath not public and removed redundant field. 2013-03-04 17:33:59 +04:00
Evgeny Gerashchenko 1d6836f6aa Added CLI tests with non-existing paths. 2013-03-04 17:33:59 +04:00
Evgeny Gerashchenko 4213eec2a5 Warning in compiler if annotations path does not exist. 2013-03-04 17:33:59 +04:00
Evgeny Gerashchenko 0e85fdd2cf KT-3290 File.recurse NPE
#KT-3290 fixed
2013-03-04 17:33:58 +04:00
Evgeny Gerashchenko bfd80e7855 Reformatted. 2013-03-04 17:33:58 +04:00
Evgeny Gerashchenko 8df2f83de0 Fixed typo. 2013-03-04 17:33:58 +04:00