Commit Graph

1431 Commits

Author SHA1 Message Date
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
Svetlana Isakova 22d3adc89f KT-3184 Type inference seems partially broken
#KT-3184 fixed
2012-12-27 18:45:24 +04:00
Natalia.Ukhorskaya e9d1171d6d Fix VerifyError for enum constructor with default arguments 2012-12-27 12:29:09 +04:00
Natalia.Ukhorskaya 808c5abc0f Generate constructor without parameters if primary constructor has only parameters with default values
#KT-3085 Fixed
2012-12-27 12:29:06 +04:00
Natalia.Ukhorskaya d4a8ed5ae6 Minor refactoring in tests 2012-12-27 12:29:05 +04:00
Natalia.Ukhorskaya f0d52e63b2 Don't resolve kotlin constructors from bytecode without JetConstructorAnnotation 2012-12-27 12:29:03 +04:00
Natalia.Ukhorskaya 538aa869b4 Constructor with default arguments for inner class
#KT-2852 Fixed
2012-12-27 12:29:01 +04:00
Svetlana Isakova 70cde87052 checking subtype for invariant type with error generic argument may success 2012-12-26 18:58:57 +04:00
Svetlana Isakova 38cc3e39e4 test for obsolete KT-2741
#KT-2741 obsolete
2012-12-26 18:01:23 +04:00
Svetlana Isakova a299cec2eb KT-3174 Call resolver doesn't understand type is not-nullable after ?. safe call
#KT-3174 fixed
2012-12-26 16:43:59 +04:00
Svetlana Isakova 9b645589df KT-2838 Type inference failed on passing null as a nullable argument
#KT-2838 fixed
2012-12-26 14:38:53 +04:00
Svetlana Isakova e6594ed5b1 KT-2883 Type inference fails due to non-Unit value returned
#KT-2883 fixed
2012-12-26 13:53:42 +04:00
Svetlana Isakova 54dffd6aad tests for obsolete tasks
#KT-3007 obsolete
 #KT-3038 obsolete
2012-12-26 13:01:48 +04:00
Svetlana Isakova 76a62d8b7d added PLACEHOLDER_FUNCTION_TYPE tests 2012-12-25 19:12:01 +04:00
Svetlana Isakova 4089ac68bd improved error reporting
when error type is a generic parameter
2012-12-25 19:12:01 +04:00
Svetlana Isakova 19e6b02da8 CANNOT_INFER_PARAMETER_TYPE reporting improvement 2012-12-25 19:12:01 +04:00
Svetlana Isakova 2077faa76a no ambiguity when overloading with different function type
(in incomplete resolve)
2012-12-25 19:12:01 +04:00