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
Alexander Udalov
d22edcdbb3
Delete JetTypeMapperMode.TRAIT_IMPL
...
The code is much easier with a simple method mapTraitImpl
2013-10-17 19:01:44 +04:00
Andrey Breslav
4f7e958a0b
Profiler uses loggers
...
This allows us to leave profiler calls in production code
2013-10-17 18:15:52 +04:00
Andrey Breslav
51d54661a1
Common logic extracted from lazy type implementations
2013-10-17 18:15:52 +04:00
Andrey Breslav
8bfa6f3aeb
Use wrapping instead of copying when creating nullable/non-null types
...
Why wrapping is better:
1. It's requires less memory: a copy has many fields, while a wrapper has only one
2. It preserves laziness of types
2013-10-17 18:15:52 +04:00
Andrey Breslav
6dd813aeef
Field made final
2013-10-17 18:15:52 +04:00
Andrey Breslav
18a608b1f8
Suppress warnings when compiling runtime for tests
2013-10-17 18:15:51 +04:00
Andrey Breslav
3960426698
TypeProjection interface extracted
2013-10-17 18:15:51 +04:00
Natalia Ukhorskaya
b98ec9f56b
Rename class
2013-10-17 13:03:02 +04:00
Natalia Ukhorskaya
fc2636572d
Do not hide kotlin configuration notifications
2013-10-17 13:03:01 +04:00
Natalia Ukhorskaya
895fed6b97
Rename file
2013-10-17 13:03:00 +04:00
Natalia Ukhorskaya
6c503e5778
Rewrite Absent Jdk Annotations stripe to balloon
2013-10-17 13:02:59 +04:00
Natalia Ukhorskaya
d8736e9442
Extract single notification manager
2013-10-17 13:02:58 +04:00
Natalia Ukhorskaya
843e5243b7
Move file
2013-10-17 13:02:57 +04:00
Nikolay Krasko
cd63a6f871
Update to IDEA 132.637 EAP
2013-10-16 22:18:54 +04:00
Svetlana Isakova
31e9eb497f
rename SKIP_FUNCTION_ARGUMENTS -> SHAPE_FUNCTION_ARGUMENTS
2013-10-16 20:41:25 +04:00
Svetlana Isakova
14cff91fed
improved diagnostic message test
...
added ability to denote required message type (text or html)
2013-10-16 20:41:25 +04:00
Svetlana Isakova
66678cdda9
refactoring: inlined static factory methods
2013-10-16 20:41:24 +04:00
Svetlana Isakova
acf987ae5b
added 'toString' "IntegerValueType(1)" to number value types
...
for debug and erroneously appeared in the places where it can be seen by user
2013-10-16 20:41:24 +04:00
Svetlana Isakova
95c5e7ee23
rename: isSealed -> isFinal
2013-10-16 20:41:24 +04:00
Svetlana Isakova
bb522e88cf
comment added
2013-10-16 20:41:23 +04:00
Svetlana Isakova
4af0e1a4fc
added DiagnosticMessageTest to generator
2013-10-16 20:41:23 +04:00
Svetlana Isakova
2f02427c57
changed DiagnosticMessageTest
...
added test arguments to test data
2013-10-16 20:41:23 +04:00
Svetlana Isakova
3663757073
injectors regenerated
...
BodyResolver doesn't need DescriptorResolver any more
2013-10-16 20:41:22 +04:00
Svetlana Isakova
af2efc991d
moved methods
...
getPropertyDeclarationInnerScope to JetScopeUtils
2013-10-16 20:41:22 +04:00
Svetlana Isakova
0cee8cac15
moved class (DelegatedPropertyResolver)
2013-10-16 20:41:22 +04:00
Svetlana Isakova
ab7133a1a6
improved error message
...
added debug info about constraint system status
2013-10-16 20:41:21 +04:00
Svetlana Isakova
9fc66d686e
treat function literals without value argument list
...
as without arguments by default
2013-10-16 20:41:21 +04:00
Svetlana Isakova
ab7e3ce78c
interpret block with function literal as function literal
...
(temporary)
2013-10-16 20:41:21 +04:00
Svetlana Isakova
73c5cb07d8
get rid of 'unwrapFromBlock'
...
do the logic in 'deparenthesize' method
2013-10-16 20:41:20 +04:00
Svetlana Isakova
4bf5bb18e9
rename replaceTypeVariables -> createNewConstraintSystemFromThis
2013-10-16 20:41:20 +04:00
Svetlana Isakova
4ab3d50e4d
rename: suggestion -> possibleAnswer
2013-10-16 20:41:19 +04:00
Svetlana Isakova
0f444903f6
refactoring: added hasOnlyErrorsFromPosition(ConstraintPosition)
...
to use it for errors from completer as well
2013-10-16 20:41:19 +04:00
Svetlana Isakova
6c584fd252
do not add NO_EXPECTED_TYPE as a subtype constraint to constraint system
...
fixed exception from EA
2013-10-16 20:41:19 +04:00
Svetlana Isakova
0a0f76239f
resolve delegated expression always using completer
2013-10-16 19:51:54 +04:00
Svetlana Isakova
249dc4b1ba
moved method
2013-10-16 19:51:54 +04:00
Svetlana Isakova
a455467f9e
made delegated property resolver a component
...
from DelegatedPropertyUtils
2013-10-16 19:51:54 +04:00
Svetlana Isakova
0cd131fcfe
refactoring
...
use method instead of its realisation, inline method
2013-10-16 19:51:54 +04:00