Andrey Breslav
4f630ca390
Supported creating JetFiles with custom names
2012-01-25 15:33:29 +04:00
Nikolay Krasko
e5f4377ee4
- KT-1068 Formatter: no indent after for
...
- KT-1098 After entering "if (lock == null)" and pressing enter indent is wrong
- Move tests for formatter
2012-01-25 15:03:46 +04:00
svtk
c9cba3e1cc
KT-939 CommonSupertypes erases scopes associated to types
2012-01-25 13:53:07 +04:00
Andrey Breslav
90b98a63b5
KT-1130 Remove ref from keywords
2012-01-25 13:12:42 +04:00
svtk
428681f1d3
'add primary constructor fix' changed to 'change to invocation fix' (for delegators to super class)
2012-01-24 16:58:29 +04:00
svtk
70d0cd882b
KT-650 Prohibit creating class without constructor
2012-01-24 16:58:29 +04:00
Alex Tkachman
8176487c93
changed synchronized from extension method to normal one
2012-01-24 14:48:09 +02:00
Nikolay Krasko
5613cb90f9
KT-1036 JetFile -> PsiJavaFile cast problem
2012-01-24 15:00:07 +04:00
Andrey Breslav
ca6f04eb55
'erased' annotation supported for type parameters. This is for internal use only.
2012-01-23 17:49:05 +04:00
svtk
b3eb44e769
removed some string methods from library.jet
2012-01-20 19:32:12 +04:00
Maxim Shafirov
f541cce098
Get full/core versions of IDEA using update_dependencies.xml. Don't use plugin SDK anymore.
2012-01-20 19:17:32 +04:00
svtk
8ec8fa47a4
KT-1078 Problem with visibility in do-while
2012-01-20 14:52:48 +04:00
Alex Tkachman
b4b1ec1bb5
Merge remote branch 'origin/master'
2012-01-20 11:05:02 +01:00
Alex Tkachman
aa2baf1eff
tiny diagnostics improvments
2012-01-20 11:04:48 +01:00
svtk
c09806da79
KT-1066 false 'Variable cannot be initialized before declaration'
2012-01-20 14:01:31 +04:00
svtk
936a081bae
KT-1075 No type check for 'in range' condition in 'when' expression
2012-01-20 12:10:34 +04:00
svtk
e2189f53e1
KT-1071 import the std.io package by default (tests after KT-842)
2012-01-20 12:00:33 +04:00
svtk
7fae503a38
KT-1080 Don't use previously imported packages while resolving import references
2012-01-20 11:58:17 +04:00
Andrey Breslav
0c95fb9fc1
Fix override resolutions when the same supertype is (indirectly) included many times, such as
...
class A : B, C
class B : C
2012-01-19 16:50:20 +04:00
unknown
16ceb446a3
Fixed completion for method calls.
...
Initial support of Parameter Info (Ctrl+P) feature (including named parameters reordering).
Todo list:
1. Constructors are not working now (even primary constructor).
2. Tests.
2012-01-18 21:05:30 +04:00
svtk
cc3a7448dc
KT-657 Semantic checks for when without condition
2012-01-18 19:28:39 +04:00
svtk
cbcfeaa1b7
control flow construction: creation of unbound labels in when fixed
2012-01-18 14:34:28 +04:00
svtk
04b1a4937c
Merge remote-tracking branch 'origin/master'
2012-01-18 13:31:52 +04:00
svtk
becd713111
KT-234 Force when() expressions to have an 'else' branch
...
KT-973 Unreachable code
2012-01-18 13:31:42 +04:00
Nikolay Krasko
2a3d1b2b45
KT-1033 Generate implementations produces wrong code
2012-01-18 12:16:40 +04:00
Stepan Koltsov
e2782e0766
make error type from error class
2012-01-18 12:11:02 +04:00
Stepan Koltsov
df9a4c7786
allow two ext properties with same name in one package
2012-01-18 12:08:35 +04:00
Stepan Koltsov
106846e868
ReadKotlinBinaryClassTest: nullability
2012-01-18 12:03:58 +04:00
Stepan Koltsov
0f9a21a305
no error scope in good type
...
propagate error types in several sites
2012-01-17 19:33:47 +04:00
Stepan Koltsov
0dd7387f6c
substitute on error class should be error
2012-01-17 19:32:05 +04:00
Andrey Breslav
7b8a057f37
Merge remote branch 'origin/master'
2012-01-17 19:04:20 +04:00
Andrey Breslav
edb324860a
Stub visibility checker
2012-01-17 19:03:59 +04:00
svtk
94e3cc9976
Merge remote-tracking branch 'origin/master'
2012-01-17 15:43:17 +04:00
svtk
e6a2b2fc0f
//KT-1027 Strange selection of unreachable code
2012-01-17 15:43:11 +04:00
svtk
3a634417b9
KT-776 Wrong detection of unreachable code
...
KT-1001 Argument 2 for @NotNull parameter of JetFlowInformationProvider.checkIsInitialized must not be null
2012-01-17 15:27:54 +04:00
Andrey Breslav
fb463da84b
KT-918 Use-case for using some functions and lambdas (confused)
2012-01-16 17:22:12 +04:00
Stepan Koltsov
882a475ac8
replace JavaClassDescriptor with MutableClassDescriptorLite
2012-01-14 04:27:22 +04:00
Stepan Koltsov
10eb516743
split MutableClassDescriptor
...
into MutableClassDescriptor base class MutableClassDescriptorLite.
Latter will be used to replace JavaClassDescriptor
2012-01-14 04:27:15 +04:00
Stepan Koltsov
2fe9344225
kill ClassDescriptor.superclassType
...
it is not used anywhere, I'll restore it when it is needed
2012-01-14 04:27:10 +04:00
Stepan Koltsov
2ab2030cea
refactoring for easier next step refactoring
...
call MutableClassDescriptor.setTypeParameterDescriptors(..) exactly once
2012-01-14 04:27:05 +04:00
Stepan Koltsov
133fc683a4
merge @JetProperty and @JetMethod
...
because:
* have common parts
* reduce class size
Also add helper JetMethodAnnotationWriter class
And also do not generate @Jet* annotations for closures
2012-01-13 23:56:13 +04:00
Maxim Shafirov
59e688f9ff
Move module scripting out of jvm backend
2012-01-13 14:23:48 +04:00
svtk
3f003a16c2
Merge remote-tracking branch 'origin/master'
2012-01-13 13:28:35 +04:00
svtk
119783ef31
warning on hidden imports
2012-01-13 13:28:05 +04:00
Nikolay Krasko
f457b1cb7a
KT-984 Make structure window work with kotlin files
2012-01-13 11:36:35 +04:00
Stepan Koltsov
de3ba203a6
test TypeParameterDescriptor index in ReadClassDataTest
...
(and fix index parsing)
2012-01-13 03:55:12 +04:00
Stepan Koltsov
9f8c4eba4c
unify Property{Getter,Setter}Descriptor constructors
2012-01-13 03:55:10 +04:00
Andrey Breslav
c78cb3cc19
Rename namespace->package in the token decala
2012-01-12 19:50:14 +04:00
svtk
390eb0cde3
forbid import of functions and properties from objects
2012-01-12 18:39:25 +04:00
svtk
5cb15c6e48
clear previous imports at the beginning of second phase of import resolve
2012-01-12 16:36:25 +04:00