Nikolay Krasko
a96474845b
Fix check of path separators in tests
2012-09-06 12:02:44 +04:00
Nikolay Krasko
8666b7d34b
Increase readability of string generation with String.format()
2012-09-06 12:01:47 +04:00
Svetlana Isakova
bdf189ed71
fixes after merge
...
(added module configuration parameter)
2012-09-05 18:55:19 +04:00
Svetlana Isakova
e72c3d79f8
changed ConfigurationKind in tests
...
from JDK_ONLY to JDK_AND_ANNOTATIONS
(after collections mapping added)
2012-09-05 18:55:18 +04:00
Svetlana Isakova
9263dbb0fc
added configuration kind parameter to tests
2012-09-05 18:55:17 +04:00
Svetlana Isakova
02cf0258cb
move test
2012-09-05 18:55:17 +04:00
Svetlana Isakova
7d37df5f38
tests changes after collections mapping
2012-09-05 18:55:16 +04:00
Svetlana Isakova
6fe49398a6
added 'getKotlinAnalogsForJavaStandardClasses'
...
to most of module configurations
2012-09-05 18:55:16 +04:00
Svetlana Isakova
726bcb5465
KT-2606 Filter java.util.* import
...
#KT-2606 fixed
added FilteringScope
2012-09-05 18:55:16 +04:00
Svetlana Isakova
d642d2266b
KT-2641 Warn on using j.l.Iterable in Kotlin code
...
#KT-2641 fixed
2012-09-05 18:55:16 +04:00
Svetlana Isakova
e70db866ad
add 'getKotlinAnalogs' to ModuleConfiguration
2012-09-05 18:55:15 +04:00
Svetlana Isakova
7073b12d11
add ModuleConfiguration to injectors
...
(to be able to use it in TypeResolver)
2012-09-05 18:55:15 +04:00
Andrey Breslav
6de633d0cb
Fixing compilation on some versions of javac
2012-09-05 14:39:37 +04:00
Andrey Breslav
d4cdbbccff
DataFLowInfo doesn't flow from when-checks
2012-09-05 14:18:41 +04:00
Andrey Breslav
4dd0b27e93
JVM Back-end does not handle complex patterns any more
...
#KT-2359 In Progress
2012-09-05 14:18:40 +04:00
Andrey Breslav
a7f62a7d6e
Test uncommented and fixed
2012-09-05 14:18:40 +04:00
Andrey Breslav
fbc0ca1b77
Gererated tests now check that all the relevant directories are present
...
We only checked test data files before
2012-09-05 14:18:40 +04:00
Alex Tkachman
a54776196a
fixed bug with compilation of this/outer. no need to check context hierarchy for superclasses except case of super call.
2012-08-31 17:42:35 +03:00
Alex Tkachman
737b794935
fix for KT-2711 wrong check on descriptor being integral range
...
method added to JetStandardLibrary to get all integral range descriptors
#KT-2711 fixed
2012-08-31 13:49:20 +03:00
Andrey Breslav
c027b4149b
Test for KT-2529 Support importing enum members using wildcard
...
#KT-2529 Fixed
2012-08-31 14:38:54 +04:00
Andrey Breslav
859dbc87d4
Fix CANNOT_CHECK_FOR_ERASED for when()
2012-08-31 14:23:02 +04:00
Andrey Breslav
ce1320bab3
Multi-declarations supported in all flavours of for loops
...
(KT-2635 Support iteration with multiple range variable in JVM back-end)
#KT-2635 Fixed
2012-08-31 12:52:47 +04:00
Andrey Breslav
f1c4ab7188
Fix for RangeTo intrinsic for the case of LongRange
2012-08-31 12:52:46 +04:00
Andrey Breslav
e8e5d3a87d
Val-capturing tests for for-loops over arrays
2012-08-31 12:52:46 +04:00
Andrey Breslav
2a1307e040
For-loop over long range test
2012-08-31 12:52:46 +04:00
Alex Tkachman
bf892870e1
fix for multiple evaluation of expression on multi var declaration
2012-08-31 11:45:56 +03:00
Natalia.Ukhorskaya
dd3323cae2
Fixed KT-2418 Front-end allows enum constants with same name
2012-08-31 11:16:35 +04:00
Natalia.Ukhorskaya
1ef8818556
Front-end: Prohibit to create inner class with the same name as a property
2012-08-31 11:15:57 +04:00
Alex Tkachman
5038c906b2
fixed critical bug with receiver used in constructor, field initializer
2012-08-31 08:20:51 +03:00
Andrey Breslav
a47ab0d408
More tests for continue in for loops
2012-08-30 20:30:52 +04:00
Andrey Breslav
59724296d6
Fix continue in for loops. Tests added
2012-08-30 20:16:09 +04:00
Alex Tkachman
8a71cf7bf7
fix for KT=2702 - wrong bridges on super call
2012-08-30 15:37:15 +03:00
Alex Tkachman
da064f95fd
MapTypeMode renamed to JetTypeMapperMode and moved to state package
2012-08-30 13:08:43 +03:00
Alex Tkachman
6cc85a6ce3
JetTypeMapper moved to state package
2012-08-30 13:08:41 +03:00
Alex Tkachman
20eb285f35
binding package introduced
2012-08-30 13:08:41 +03:00
Kirill Berezin
b84f068c33
kt-1760 delegation to java iface:
...
- removed codegen's unnecessary lookup for a declaration
- skipped class' only supertype (if any) methods when delegating
2012-08-30 14:03:43 +04:00
Nikolay Krasko
78cb5381f7
Remove reference to error type constructor from unresolved annotation
2012-08-30 13:21:13 +04:00
Nikolay Krasko
9a9efd5b2f
Extract variable refactoring
2012-08-30 13:21:10 +04:00
Nikolay Krasko
03989b9055
EA-36935 Rewriting annotations exception when file contains object with annotation.
2012-08-30 13:21:06 +04:00
Natalia.Ukhorskaya
19221e3ba6
JavaDescriptorResolver: Add resolve for annotation parameters (array, annotation, enum)
...
Temporary change testData for LoadJavaTest because enums in parameters of annotations in kotlin files is now unsupported
2012-08-30 10:56:33 +04:00
Natalia.Ukhorskaya
92a782ce6c
AnnotationDescriptor refactoring: contains map of ValueParameterDescriptor and CompileTimeConstant for valueArgument.
...
DescriptorUtils: add method to get a list of sorted value arguments from AnnotationDescriptor
2012-08-30 10:56:31 +04:00
Natalia.Ukhorskaya
04deb2dd2f
JetTestUtils: change signature of compileJavaFile - take collection of files to compile and list of javac options
...
LoadDescriptorUtil: remove duplicate code
2012-08-30 10:55:47 +04:00
Alex Tkachman
b45f19c0e2
GenerationState refactored to be (almost) immutable and methodless (modulo little protection from reuse)
...
GenerationStrategy introduced to handle separately cases of regular compilation and building of JetLightClasses (this was only real overridable behavior of GenerationState in old code)
state subpackage introduced
2012-08-30 09:33:10 +03:00
Andrey Breslav
7caa1b8aa4
KT-2364 Drop traces of constructor-entries in enums
...
#KT-2364 Fixed
2012-08-29 22:07:42 +04:00
Pavel V. Talanov
32f9dcedff
Merge with Alex's refactroings.
2012-08-29 17:12:07 +04:00
Pavel V. Talanov
ae348a0547
Nested packages visibilities in jvm-backend.
2012-08-29 15:58:29 +04:00
Pavel V. Talanov
9295ce7086
LoadCompiledKotlinCustomTest -> LoadKotlinCustomTest.
...
The test itself is enhanced so it loads descriptors from source and from binaries.
Test data changed according to latest frontend changes.
2012-08-29 15:58:21 +04:00
Nikolay Krasko
22794cbf64
Fix for EA-38626 - can't find class delegate for JetLightClass constructed for kotlin enum entry.
2012-08-28 19:32:46 +04:00
Alex Tkachman
10a47ea86f
big codegen rewrite
2012-08-27 17:43:03 +03:00
Pavel V. Talanov
6132946ced
Introduce ClassKind#CLASS_OBJECT and ClassKind#isObject and usages.
...
Rename LazyClassDescriptor#onlyEnumEntries -> enumClassObjectInfo.
Determine ClassKind in JetClassInfo and JetObjectInfo constructor.
Remove complex constructor for enum entry in enum test.
Logic simplified in LazyClassMemberScope.
Minor refactorings.
2012-08-27 15:52:36 +04:00