Commit Graph

12526 Commits

Author SHA1 Message Date
Mikhael Bogdanov 4c459fe62c Added extensions for function body resolve 2013-10-24 14:14:48 +04:00
Mikhael Bogdanov 643aec6c9b Added cached calculation of extensions 2013-10-24 14:14:48 +04:00
Mikhael Bogdanov 592c26e840 New extension parameter added to resolution context 2013-10-24 14:14:48 +04:00
Alexey Sedunov 06ab7708ae Extract searchLocalFunction() method 2013-10-24 13:09:30 +04:00
Andrey Breslav f91e6b8d38 Reorder class path to deliver cli-parser-1.1.1 instead of cli-parser-1.1 2013-10-24 11:35:23 +04:00
Alexey Sedunov 93e906ef5f Filter usages in import directives 2013-10-23 23:00:30 +04:00
Alexey Sedunov b20a18cf38 Restrict scope of local declarations 2013-10-23 23:00:29 +04:00
Alexey Sedunov c3c0925de1 Add support of local declarations 2013-10-23 23:00:28 +04:00
Alexey Sedunov 46b14784e1 Fixed KT-4105: Can't find usages of private function 2013-10-23 23:00:27 +04:00
Nikolay Krasko d23ad4f262 Process each namespace only once while reporting redeclaration errors 2013-10-23 20:43:39 +04:00
Nikolay Krasko 60ef034330 Make tests reveal errors in number of diagnostics with the same type 2013-10-23 20:43:38 +04:00
Nikolay Krasko 669104538d Tests for shadowing and redeclaration 2013-10-23 20:43:38 +04:00
Nikolay Krasko d6821ebfb6 Refactoring: Remove misleading that code processes both redeclaration and shadowing
NAME_SHADOWING is a warning so it has never been handled there
2013-10-23 20:43:37 +04:00
Nikolay Krasko e96c76b0d8 Fix multiple registration for redeclaration errors 2013-10-23 20:43:36 +04:00
Zalim Bashorov 28c0ebe104 Fix TopLevelMembersInvocationTestGenerated.testTwoModules test. 2013-10-23 19:35:42 +04:00
Alexey Sedunov d9f3858186 Translate JetElementDescriptorProvider to Kotlin 2013-10-23 14:20:13 +04:00
Alexey Sedunov cf8555349e Fix detection of constructor calls and delegates in supertype specifiers 2013-10-23 14:19:47 +04:00
Alexey Sedunov 38660dd9a8 Translate JetUsageTypeProvider to Kotlin 2013-10-23 14:15:15 +04:00
Alexey Sedunov 2add0b0810 Translate utility method getParentByTypeAndPredicate() to Kotlin 2013-10-23 13:17:12 +04:00
Alexander Udalov dd50438c78 Deserialize annotations on property setter parameters 2013-10-22 23:08:34 +04:00
Alexander Udalov 464b0dea4b Don't reuse other descriptor's value parameters
This resulted in a rewrite at INDEX_FOR_VALUE_PARAMETER slice, since some value
parameters were found twice in different function descriptors
2013-10-22 23:08:34 +04:00
Alexander Udalov 41e2300473 Rename MemberMap and implement it via SlicedMap 2013-10-22 23:08:34 +04:00
Alexander Udalov 73b768a72c Minor, extract Slices.createCollectiveSlice() 2013-10-22 23:08:34 +04:00
Alexander Udalov 938a906bcd Deserialize annotations on value parameters of functions 2013-10-22 23:08:33 +04:00
Alexander Udalov 4105455179 Serialize value parameter indices on JVM
This will help to load annotations on value parameters
2013-10-22 23:08:33 +04:00
Nikolay Krasko 011e2675ab Refactoring: store information about registered redeclaration errors for element 2013-10-22 22:45:29 +04:00
Nikolay Krasko 75b4a0b1d3 Refactoring: extract method 2013-10-22 22:45:28 +04:00
Nikolay Krasko ced0a90573 Fix memory leak by removing storing analyze result from annotators 2013-10-22 22:45:27 +04:00
Nikolay Krasko 23015b5f64 Get diagnostics for particular element 2013-10-22 22:45:27 +04:00
Pavel V. Talanov 7891eeed23 Update to IDEA 132.719 EAP 2013-10-22 20:07:17 +04:00
svtk 0cbbe3e5ea comment added 2013-10-22 19:01:52 +04:00
Zalim Bashorov 338f3614f0 Check archive name instead of os family when extracting it. 2013-10-21 21:12:21 +04:00
Zalim Bashorov 14ca06c6c2 Fixed JetJavaLibCompletionTest on non-windows machines. 2013-10-21 20:45:00 +04:00
Andrey Breslav ea2b6e4546 Do not throw an exception when a when-statement with no else makes no match 2013-10-21 19:29:01 +04:00
Andrey Breslav aacf133ef6 Ignore all output directories in a chunk
Otherwise the class files generated by previous builds for one of the targets in the chunk would interfere with source definitions, and we get overload resolution ambiguities and such
2013-10-21 19:21:23 +04:00
Andrey Breslav 2a43d2adee Report correct build targets for outputs + tests on output removal 2013-10-21 19:21:23 +04:00
Andrey Breslav c84e582397 Correctly report locations of output files 2013-10-21 19:21:23 +04:00
Andrey Breslav 251c659e91 Check removed files as well as dirty ones 2013-10-21 19:21:22 +04:00
Alexey Sedunov 12a460a145 KT-4043 "Find usages ignores class names usages as class objects" 2013-10-21 17:18:46 +04:00
Alexey Sedunov 45b07c0e18 Rename getMyType() method 2013-10-21 17:18:09 +04:00
Alexey Sedunov 1cb551385a Do not generate nullable types when converting "instanceof" to "is" 2013-10-21 17:09:19 +04:00
Alexey Sedunov 054588bd3b Fix conversion of Java class literals 2013-10-21 17:09:18 +04:00
Zalim Bashorov d71302ec61 Added idea.build.number to update_dependencies.
Fixed build for non windows agents on internal buildserver.
2013-10-21 14:41:30 +04:00
Andrey Breslav 61270e8ee5 Do not fail on bad Kotlin configuration if there are no Kotlin files 2013-10-18 12:23:07 +04:00
Natalia Ukhorskaya 97b35ed8ea Remove duplicated Delegated properties classes from stdlib 2013-10-18 11:52:08 +04:00
Alexander Udalov b8db438db1 Refactor codegen of property backing fields, TImpl, etc.
- remove synthetic method code generation from TraitImplBodyCodegen, use
  PropertyCodegen for that
- don't try to generate synthetic methods for constructor properties
- inline methods, NotNull, renames, etc.
2013-10-17 19:01:45 +04:00
Alexander Udalov b7789da3b9 Load annotations on properties declared in traits 2013-10-17 19:01:45 +04:00
Alexander Udalov 5a1daaa4b6 Generate values()/valueOf() even for empty enums 2013-10-17 19:01:45 +04:00
Alexander Udalov b4ecb36445 Move JetTypeMapperMode to JetTypeMapper class 2013-10-17 19:01:44 +04:00
Alexander Udalov af2a52bd4e Add JetTypeMapper.mapClass
Should be used instead of "mapType(*.getDefaultType(), IMPL)" pattern
2013-10-17 19:01:44 +04:00