Commit Graph

9853 Commits

Author SHA1 Message Date
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
Evgeny Gerashchenko e67e992bb0 Loading from Java: inner subclass of super's inner. 2013-03-04 17:33:58 +04:00
Evgeny Gerashchenko 3c7d413456 Disabled super functions checking on error types. 2013-03-04 17:33:58 +04:00
Mikhael Bogdanov b3ec87f956 ClassObject instance field refactoring 2013-03-04 16:42:55 +04:00
Kevin F. Chen 5db0f2132c remove useless nullable qfix and test done 2013-03-02 21:39:27 +04:00
Evgeny Gerashchenko 5d33f779be Replaced "argument list" with "arguments" in quick fix text. 2013-03-02 21:16:17 +04:00
Michał Sapalski 64321dce56 Quickfix for CANNOT_CHECK_FOR_ERASED. 2013-03-02 21:09:25 +04:00
Wojciech Lopata 1f3739415a QuickFix for UNCHECKED_CAST 2013-03-02 21:08:08 +04:00
Andrey Breslav db99492b9c Merge pull request #215 from lopekpl/KT-1019
KT-1019 recover from missing parentheses in function declaration
2013-03-01 01:24:26 -08:00
Andrey Breslav 89017fbc89 hello.namespace -> hello.HelloPackage 2013-03-01 13:14:06 +04:00
Wojciech Lopata a887175f1a Common fix for FINAL_SUPERTYPE and FINAL_UPPER_BOUND errors 2013-02-28 16:46:19 +04:00
Mikhael Bogdanov 6e1e495397 KT-3374 Wrong this@method receiver 2013-02-28 15:22:35 +04:00
Wojciech Lopata bc59ed75ca KT-1019 parser should recover from missing parentheses in function declaration
#KT-1019 Fixed
2013-02-28 12:00:33 +01:00
Wojciech Lopata 6020fc216b Minor fix in JetNamedFunction
This caused NullPointerException while running JetParsingTest when I changed some test.
2013-02-27 17:45:18 +01:00