Andrey Breslav
c849a0c4e3
Redundant/conflicting projections
2012-11-24 15:59:16 +04:00
Andrey Breslav
5b93ae2d08
Variance in functions/properties removed from stdlib
2012-11-24 15:59:16 +04:00
Andrey Breslav
12fd07af08
Report an error when variance is specified for a function or property type parameter
2012-11-24 15:59:16 +04:00
Andrey Breslav
d8c9d19bd7
rename: positionModifier -> modifierPosition
2012-11-24 15:59:15 +04:00
Andrey Breslav
889ea107f6
Reflect Kotlin's declaration-site variance in Java signatures
2012-11-24 15:59:15 +04:00
Andrey Breslav
da2f886bee
Redundant projections removed from code
2012-11-24 15:59:15 +04:00
Andrey Breslav
d3f9e61db7
Redundant projections removed from test data
2012-11-24 15:59:15 +04:00
Andrey Breslav
649259e715
Type substitutor logic regarding projection composition fixed
2012-11-24 15:59:15 +04:00
Andrey Breslav
7d8bde2ac6
Test data moved out of JetTypeCheckerTest
2012-11-24 14:08:43 +04:00
Andrey Breslav
94552d5524
Proper message reporting
2012-11-24 14:08:43 +04:00
Alexander Udalov
6c2b402625
Remove dangerous and unused method
2012-11-23 17:37:50 +04:00
Pavel V. Talanov
59e74e79c2
Test for KT-2619
...
Remove outdated check in WhenChecker
# KT-2619 fixed
2012-11-23 17:18:09 +04:00
Pavel V. Talanov
997e26d11e
Test for KT-2890
...
# KT-2890 can't reproduce
2012-11-23 17:17:42 +04:00
Pavel V. Talanov
5fa069bebd
Test for KT-2152
...
# KT-2152 can't reproduce
2012-11-23 17:17:03 +04:00
Andrey Breslav
3b11d5787c
Migrating to IDEA 123.4
2012-11-23 12:38:54 +04:00
Alexander Udalov
9d3907ff98
When-statements & correct line numbers
2012-11-22 22:32:21 +04:00
Alexander Udalov
aa898725fc
Mark line numbers on compile-time constants
2012-11-22 22:32:17 +04:00
Alexander Udalov
0f496eac21
Try-catch-finally statements & correct line numbers
2012-11-22 22:32:14 +04:00
Alexander Udalov
ca587513e3
Fix for finally before empty return
2012-11-22 22:32:10 +04:00
Alexander Udalov
99a908e8fe
If-then-else statements & correct line numbers
...
#KT-3036 Fixed
2012-11-22 22:31:58 +04:00
Alexander Udalov
8564c20baa
Fix condition generation of empty if
2012-11-22 22:31:53 +04:00
Alexander Udalov
af601b5a90
Single-branch if-statements
...
Single-branch if-expressions are now compiled to statements if the result is
not used
#KT-3036 In Progress
2012-11-22 22:31:40 +04:00
Alexander Udalov
9c7724b7f9
Introduce CodegenStatementVisitor
...
Which will be used for generating statements (as opposed to generating
expressions always, as it is now)
Add StatementGenTest, which will check if we actually generate statements and
not expressions of type Unit, popping them off the stack later
2012-11-22 22:07:01 +04:00
Alexander Udalov
cb08d27970
Refactor LineNumberTest
...
Allow passing custom expected & actual line numbers instead of those before
calls to test.lineNumber()
2012-11-22 18:54:22 +04:00
Nikolay Krasko
aeb7a0f1a7
Fix signature - return List<T> instead of List<in T>
2012-11-22 18:06:00 +04:00
Andrey Breslav
4c55c484ed
Sources for JPS test framework
2012-11-22 17:44:23 +04:00
Pavel V. Talanov
a7536e1ae9
Fix ClassCastException introduced in https://github.com/JetBrains/kotlin/commit/8d501bd7f4f1093bcf29165755aff3f2a945c88a
2012-11-21 21:05:30 +04:00
Andrey Breslav
10cedf8576
Proper dependencies for the JPS plugin
2012-11-21 20:51:50 +04:00
Natalia.Ukhorskaya
e4bb109060
Path separator fixed
2012-11-21 20:12:36 +04:00
Pavel V. Talanov
c726c95921
Hack to make tests pass
...
Inner classes of interfaces and inner interfaces are put in NonStaticMemberScope
2012-11-21 19:49:52 +04:00
Pavel V. Talanov
7f617de8ac
Rework test for KT1119
2012-11-21 19:49:51 +04:00
Pavel V. Talanov
6017604e38
Refactor: slightly improve code in WhenChecker
2012-11-21 19:49:50 +04:00
Pavel V. Talanov
8d501bd7f4
Fix WhenChecker after enum property type change
2012-11-21 19:49:50 +04:00
Pavel V. Talanov
c39a4dc57a
Change type of enum entry property
...
Now such properties have types corresponding to enum class not it's own enum entry classes
2012-11-21 19:49:49 +04:00
Pavel V. Talanov
c42380dc0b
Make enum entry classes have private visibility and properties have public vibility
...
Tests for backend are broken
2012-11-21 19:49:48 +04:00
Pavel V. Talanov
9c7cb64a30
Minor refactoring: static import ModifiersChecker static utilities
2012-11-21 19:49:47 +04:00
Pavel V. Talanov
662acb58b1
Remove JavaPropertyResolver#getRealOwner() which is in fact redundant
...
Injectors regenerated
2012-11-21 19:49:46 +04:00
Pavel V. Talanov
3ae89dbb1d
Test for resolving static members of java enum
...
Add clarifying note
2012-11-21 19:49:45 +04:00
Pavel V. Talanov
b5b6f58b6b
Test for resolving inner classes
2012-11-21 19:49:44 +04:00
Pavel V. Talanov
737b246b01
Fix resolve of inner and nested classes in JavaDescriptorResolver
2012-11-21 19:49:44 +04:00
Pavel V. Talanov
96b48aedfc
Very simple test for resolving static members of java classes
2012-11-21 19:49:43 +04:00
Pavel V. Talanov
86cc1db609
Refactor: extract superclass from AnnotationJavaDescriptorResolverTest
2012-11-21 19:49:42 +04:00
Pavel V. Talanov
613a298e82
Use the same code to resolve classifiers for JavaClassStaticMembersScope as for non static members
2012-11-21 19:46:18 +04:00
Pavel V. Talanov
0c0d4d28c8
Simplify implementation of JavaClassNonStaticMembersScope#getClassifier()
...
Also cache inner classes and classifiers
2012-11-21 19:46:17 +04:00
Pavel V. Talanov
4b64e312fe
Refactor: move ClassDescriptorFromJvmBytecode#getConstructors() logic to JavaClassNonStaticMembersScope
2012-11-21 19:46:16 +04:00
Pavel V. Talanov
8ac63a53ad
Minor change to make code green
2012-11-21 19:46:15 +04:00
Pavel V. Talanov
05cf6a407a
Refactor: split implementation of JavaBaseScope#computeAllDescriptors() and make computeInnerClasses() abstract, provide implementation in subclasses
2012-11-21 19:46:14 +04:00
Pavel V. Talanov
5bbe9af4bb
Minor refactor
2012-11-21 19:46:13 +04:00
Pavel V. Talanov
b6aa9b2bce
Make JavaClassStaticMembersScope extend JavaClassMembersScope instead of JavaPackageScope, use JavaBaseScope instead of JavaPackageScope in JavaNamespaceResolver
2012-11-21 19:46:13 +04:00
Pavel V. Talanov
1ced967bc9
Refactor: pull getPsiElement() method Up
2012-11-21 19:46:12 +04:00