Natalia.Ukhorskaya
47abdcf565
Rename namespace class to {package.name}Package
...
Conflicts:
compiler/jet.as.java.psi/src/org/jetbrains/jet/asJava/JavaElementFinder.java
2013-01-15 19:45:06 +04:00
Evgeny Gerashchenko
21fa647983
Added load java test with deep Java-Kotlin subclassing.
2013-01-15 19:41:41 +04:00
Evgeny Gerashchenko
8d9acc2662
Manually creating environment.
2013-01-15 19:41:41 +04:00
Evgeny Gerashchenko
849aaaf5d2
Reverted optimizing imports in auto-generated file.
2013-01-15 19:41:41 +04:00
Evgeny Gerashchenko
b1847698a8
Better jar names for runtime/builtins/jdk-annotations in tests.
2013-01-15 19:41:41 +04:00
Evgeny Gerashchenko
b1fd1d8301
KT-3200 wrong Kotlin signature java.util.concurrent.ThreadFactory java.lang.Thread newThread(java.lang.Runnable)
...
Added checking for compatibility of IDEA's and Kotlin's JDK annotations.
#KT-3200 fixed
2013-01-15 19:41:41 +04:00
Nikolay Krasko
1263919e39
Test for property from top level object
...
#KT-3187 Fixed
2013-01-15 19:06:53 +04:00
Andrey Breslav
9e45eb7326
Temporarily disable failing tests
2013-01-15 16:39:31 +04:00
Andrey Breslav
05cf9041af
Tests to make sure that light classes compute the data properly
2013-01-15 15:32:06 +04:00
Andrey Breslav
1a03850951
A test for K-J-K inheritance with generics
2013-01-15 15:32:04 +04:00
Andrey Breslav
d4854c22c4
A test for K-J-K inheritance
2013-01-15 15:32:04 +04:00
Andrey Breslav
9d9580d4af
Traces fixed in SubclassingKotlinInJavaTest
2013-01-15 15:32:03 +04:00
Andrey Breslav
4b4a9eb6c9
Create new trace before each resolve (to avoid writing to a trace already filled in by previous analysis)
2013-01-15 15:32:02 +04:00
Andrey Breslav
effaebdd26
Resolution helpers in tests fixed
2013-01-14 20:20:29 +04:00
Andrey Breslav
69080b72af
When generating light class for package, do not generate other classes
2013-01-14 20:20:21 +04:00
Andrey Breslav
a91b113cc3
GenerationStrategy is now a strategy
2013-01-14 20:20:20 +04:00
Andrey Breslav
380c8b596a
The slow (synchronized) java.util.Stack replaced by com.intellij.util.containers.Stack
2013-01-14 20:20:10 +04:00
Andrey Breslav
2c3a955074
Retrieve JavaElementFinder from Project's extensions
2013-01-14 20:20:10 +04:00
Andrey Breslav
b5aa44ae49
GenerationState is constructed with BindingContext, not full AnalyzeExhaust
2013-01-14 15:19:50 +04:00
Maxim Shafirov
c293fe124d
Regression test for KT-3238. The issue itself is incorrect but test may be useful
2013-01-13 03:09:40 +04:00
Evgeny Gerashchenko
8a7548bc84
Wiped traces of JetStandardLibrary class name.
2013-01-11 18:23:05 +04:00
Andrey Breslav
f26412aae4
Utility methods moved to a utility class
2013-01-10 16:16:49 +04:00
Andrey Breslav
9d538dad8a
EA-36903 - ISE: JavaTypeTransformer$.visitClassType Fixed
2013-01-10 16:16:49 +04:00
Svetlana Isakova
33a82da493
supertype of error type should be an error type, not any
2013-01-10 15:55:50 +04:00
Svetlana Isakova
142d9a090c
no senseless comparison for error type
2013-01-10 15:55:50 +04:00
Alexander Udalov
4cebd3f75b
Fix last if-statement in block codegen
...
#KT-3203 Fixed
2013-01-10 14:05:28 +04:00
Pavel V. Talanov
293b272a22
Fix for a problem where inner (or nested) classes were not analyzed in some situations
...
# KT-3124 Fixed
2013-01-09 18:38:58 +04:00
Pavel V. Talanov
ad848f2ebc
Check for ClassKind in getClassifier() and getObjectDescriptor() implementations in java scopes
...
# KT-3124 fixed
2013-01-09 18:38:56 +04:00
Alexander Udalov
0fea6822c3
Fix codegen of loaded class objects
...
Remove useless check and todo.
#KT-2717 Fixed
#KT-3142 Fixed
2013-01-09 15:40:21 +04:00
Alexander Udalov
a2e453b759
Refactor CompileKotlinAgainstKotlinTest
...
CKAKTest is now abstract, the actual testcases are generated via GenerateTests
into CompileKotlinAgainstKotlinTestGenerated.
Also invokeMain() now invokes namespace.main instead of bbb.namespace.main.
2013-01-09 15:32:51 +04:00
Svetlana Isakova
0b53bd25bd
KT-2397 Prohibit final methods in traits with no implementation
...
#KT-2397 fixed
2012-12-29 20:08:10 +04:00
Svetlana Isakova
55968aabad
fixed an exception from 'getConstructorReferenceExpression'
...
(from exception analyzer)
2012-12-29 20:08:10 +04:00
Evgeny Gerashchenko
e03eaf6dde
Removed @author javadocs from code.
2012-12-28 17:44:31 +04:00
Evgeny Gerashchenko
1de4da28fc
Added test checking for @author in code.
2012-12-28 17:44:28 +04:00
Evgeny Gerashchenko
6d95bb7f70
Simplified JetCodeConformanceTest.
2012-12-28 16:42:43 +04:00
Evgeny Gerashchenko
55acb2a675
Fixed new lines issue in NamespaceComparator tests.
2012-12-28 14:45:48 +04:00
Evgeny Gerashchenko
c041fc8fea
Removed sorting of upper bounds in renderer.
...
Removed corresponding test.
2012-12-28 14:25:18 +04:00
Evgeny Gerashchenko
c483a7f7cd
Simplified code in NamespaceComparator.
2012-12-27 20:46:59 +04:00
Evgeny Gerashchenko
c0ce15ddfb
Made parameter of renderType() @NotNull.
2012-12-27 20:46:59 +04:00
Evgeny Gerashchenko
8659d14ba0
Introduced compareNamespaceWithFile() method.
2012-12-27 20:46:59 +04:00
Evgeny Gerashchenko
862a6ffbbc
Moved class object case to namespace comparing test.
2012-12-27 20:46:59 +04:00
Evgeny Gerashchenko
0ce1c56999
Got rid of regexp check for java.lang.Object methods.
2012-12-27 20:46:58 +04:00
Evgeny Gerashchenko
5196a17f69
Code cleanup in NamespaceComparator.
2012-12-27 20:46:58 +04:00
Evgeny Gerashchenko
16aa79a828
Removed dead code in NamespaceComparator.
2012-12-27 20:46:58 +04:00
Evgeny Gerashchenko
1f0a0b823b
Comparing namespaces in serialized form.
2012-12-27 20:46:57 +04:00
Evgeny Gerashchenko
d01193f8a3
Removed output filter from NamespaceComparator.
2012-12-27 20:46:57 +04:00
Evgeny Gerashchenko
af3dffbed4
Using DescriptorRenderer in NamespaceComparator instead of custom serializer.
...
Removed zoo of *Serializer classes from NamespaceComparator.
2012-12-27 20:46:56 +04:00
Evgeny Gerashchenko
20341a84e6
Sorting members instead of member strings.
2012-12-27 20:46:56 +04:00
Evgeny Gerashchenko
d9cbeadfff
Simplified LazyResolveBuiltinClassesTest.
...
Since now builtins are resolved lazily, we need to compare it only with hardcopy.
2012-12-27 20:46:56 +04:00
Evgeny Gerashchenko
7beb4fe10e
Rendering constructors in DescriptorRendererTest.
2012-12-27 20:46:52 +04:00