Evgeny Gerashchenko
dd5766d878
Renamed some generated tests to follow conventions.
2013-12-19 21:48:38 +04:00
Evgeny Gerashchenko
cd8f5fae54
Renamed some generated tests to follow conventions.
2013-12-19 21:48:37 +04:00
Evgeny Gerashchenko
fa89d537fa
Fixed generator class name.
2013-12-19 21:48:36 +04:00
Evgeny Gerashchenko
46ec25e066
Removed duplicate test class.
2013-12-19 21:21:22 +04:00
Natalia Ukhorskaya
9b51a77cdf
Remove unused field
2013-12-19 16:43:11 +04:00
Svetlana Isakova
dd6940be41
added CHECK_TYPE directive to diagnostic tests
2013-12-19 13:01:05 +04:00
Natalia Ukhorskaya
c9a600a405
Fix for varargs as annotation arguments #KT-4326 Fixed
2013-12-18 15:13:53 +04:00
Evgeny Gerashchenko
17cf488cc6
Removed redundant tests for loading builtins.
2013-12-17 20:29:00 +04:00
Evgeny Gerashchenko
b7cfd676bf
Merged LoadCompiledKotlin test int LoadJavaTest.
2013-12-17 20:28:59 +04:00
Evgeny Gerashchenko
62f44f7ed0
Minor. Reordered test methods.
2013-12-17 20:28:58 +04:00
Evgeny Gerashchenko
1c25c971e0
Corrected test error message.
2013-12-17 20:28:58 +04:00
Evgeny Gerashchenko
a49551dd35
Introduced getFqNameSafe method.
2013-12-17 20:28:57 +04:00
Evgeny Gerashchenko
3352d8a954
Minor. Renamed method.
2013-12-17 20:28:56 +04:00
Evgeny Gerashchenko
5c22787c15
Simplified API of JetNamespaceHeader and its usages.
2013-12-17 20:28:55 +04:00
Evgeny Gerashchenko
df1e92959e
Generified subpackages obtaining, fixed it for mixed packages.
2013-12-17 20:28:54 +04:00
Evgeny Gerashchenko
3de7f7646b
Better assertion.
2013-12-17 20:28:54 +04:00
Evgeny Gerashchenko
fbd398fd8e
Added test for finding subpackages in mixed Java & compiled Kotlin package.
2013-12-17 20:28:52 +04:00
Evgeny Gerashchenko
00f0ad2eda
Minor. Removed unused test method.
2013-12-17 20:28:52 +04:00
Evgeny Gerashchenko
73114d7e9c
Fragment providers added on higher level.
2013-12-17 20:28:50 +04:00
Evgeny Gerashchenko
e680567290
Restored test code for deserialized scopes.
2013-12-17 20:28:49 +04:00
Evgeny Gerashchenko
98ad890b60
Extracted method for finding exactly one fragment.
2013-12-17 20:28:48 +04:00
Evgeny Gerashchenko
1bbe9b0bd4
Removed DescriptorFinder.findPackage.
2013-12-17 20:28:47 +04:00
Evgeny Gerashchenko
557aaf363a
Renamed method and got rid of some usages.
2013-12-17 20:28:47 +04:00
Evgeny Gerashchenko
5d0381f073
Using FqName instead of FqNameUnsafe for package predicate.
2013-12-17 20:28:45 +04:00
Evgeny Gerashchenko
e625a3a869
Cleanup of CheckLocalVariablesTableTest
2013-12-17 20:28:43 +04:00
Evgeny Gerashchenko
9d2b79c631
Migrated CliLightClassGenerationSupport to package views.
2013-12-17 20:28:42 +04:00
Evgeny Gerashchenko
75e550fe11
Removed namespaces from descriptor visitor.
2013-12-17 20:28:41 +04:00
Evgeny Gerashchenko
d0605009ae
Removed ModuleConfiguration.
2013-12-17 20:28:40 +04:00
Evgeny Gerashchenko
19d8f1394b
Big refactoring continued. Migrating to package views and fragments.
2013-12-17 20:28:39 +04:00
Evgeny Gerashchenko
7abe6a5b4a
Big refactoring. Migrating to package views and fragments.
2013-12-17 19:18:33 +04:00
Evgeny Gerashchenko
2a0d81a6fe
Introduced package view and fragment classes.
2013-12-17 19:18:31 +04:00
Evgeny Gerashchenko
62c542341a
Renamed NamespaceComparator → RecursiveDescriptorComparator.
2013-12-17 19:18:31 +04:00
Evgeny Gerashchenko
1b28fb50b9
Removed useless method.
2013-12-17 19:18:31 +04:00
Svetlana Isakova
26f66eaea5
fixed INACCESSIBLE_OUTER_CLASS_EXPRESSION check
...
for extension lambda (with implicit this) in nested class
2013-12-17 19:04:41 +04:00
Svetlana Isakova
400e6d3f44
KT-4310 Check for definite returns
...
#KT-4310 Fixed
2013-12-17 19:04:40 +04:00
Natalia Ukhorskaya
31ad4f8451
Annotation parameter must be constant
2013-12-17 15:41:24 +04:00
Natalia Ukhorskaya
7a9d822070
'As' function for constants
2013-12-17 15:00:30 +04:00
Natalia Ukhorskaya
dbaaa80918
Add i2b cast boxing Int to Byte? or Short? (fix android tests)
2013-12-16 20:54:10 +04:00
Natalia Ukhorskaya
66effee8cd
Fix safe call
2013-12-16 20:54:09 +04:00
Natalia Ukhorskaya
4ef1af7d12
Cast unary intrinsics to expected type
2013-12-16 17:12:40 +04:00
Svetlana Isakova
4c41d19eb1
interpret class in class object as static nested class
...
removed hack in TaskPrioritizer for import class from class object
2013-12-16 16:24:21 +04:00
Svetlana Isakova
928f77ffce
set explicit receiver kind properly for calls
2013-12-16 16:24:21 +04:00
Alexander Udalov
0576851102
Fix codegen for closures returning 'Unit?'
...
Only do a checkcast when we need to coerce Object to Unit: the code was
hopefully type-checked so that it'll only be necessary when the value is either
Unit.VALUE or null
2013-12-12 21:38:20 +04:00
Alexander Udalov
9e5c68a8f9
Fix KotlinBuiltIns.isUnit
...
It didn't check type's nullability
2013-12-12 21:38:20 +04:00
Alexey Sedunov
6913f42a97
Add support of light classes for local class/object declarations
2013-12-12 17:30:52 +04:00
Natalia Ukhorskaya
69ed9bc47a
Do not cast arguments of binary operation to expected type for byte and short
2013-12-12 17:11:42 +04:00
Svetlana Isakova
cc3f450132
added test for obsolete task
...
#KT-2336 Fixed
2013-12-11 19:53:52 +04:00
Svetlana Isakova
4d39dc38da
fixed: smart cast of boolean variable didn't work in boolean expression
2013-12-11 19:53:52 +04:00
Svetlana Isakova
cd6934bee8
fixed bug in 'DataFlowInfo.getPossibleTypes'
...
parent types should be enriched as well
2013-12-11 19:53:51 +04:00
Svetlana Isakova
4a26c9df04
don't report autocast on left expression in equality
...
if it was checked for not-null beforehand
2013-12-11 19:53:51 +04:00