Commit Graph

1447 Commits

Author SHA1 Message Date
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
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 9bd4ed2a8d changed case for test file 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 dda15f7505 Excluded class object names from FQ name and qualified name. 2012-12-28 14:25:34 +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 6fa36d330c Regenerated test data. 2012-12-28 14:25:18 +04:00
Evgeny Gerashchenko 28c93f2912 Not rendering "final" for top-level functions and properties. 2012-12-28 14:25:18 +04:00
Evgeny Gerashchenko da7f4f3421 Escaping parameter names in "where". 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 6ab081d969 Regenerated test data. 2012-12-27 20:46:58 +04:00
Evgeny Gerashchenko 5dec5a4c28 Regenerated all test data which uses NamespaceComparator. 2012-12-27 20:46:57 +04:00
Evgeny Gerashchenko ef1ffa4bf7 Sorting upper bounds when rendering "where" to workaround failing test. 2012-12-27 20:46:56 +04:00
Evgeny Gerashchenko 3cc61d070b Removed obsolete stdlib-log.txt. 2012-12-27 20:46:56 +04:00
Evgeny Gerashchenko 778df8b1fd Rendering annotations and visibility for class object.
Don't render modality for any object kind.
2012-12-27 20:46:55 +04:00
Evgeny Gerashchenko bf42e3c093 Rendering "constructor" instead of "ctor". 2012-12-27 20:46:54 +04:00
Evgeny Gerashchenko 08d2002277 Rendering 'where' for properties. 2012-12-27 20:46:53 +04:00
Evgeny Gerashchenko b7e4907f74 Rendering where suffix for classes. 2012-12-27 20:46:52 +04:00
Evgeny Gerashchenko b300329e21 Rendering variance when type parameter is reified. 2012-12-27 20:46:52 +04:00
Evgeny Gerashchenko 7beb4fe10e Rendering constructors in DescriptorRendererTest. 2012-12-27 20:46:52 +04:00
Evgeny Gerashchenko 2b83b970ed Rendering annotations in descriptor renderer. 2012-12-27 20:46:52 +04:00
Evgeny Gerashchenko ad5a869a0a Rendering all class kinds in DescriptorRenderer. 2012-12-27 20:46:51 +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 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 b0302246a0 HtmlTabledDescriptorRendererTest renamed to DiagnosticMessageTest 2012-12-25 19:12:01 +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
Svetlana Isakova c37d7352a5 improved reporting TYPE_MISMATCH error for function literals
(introduced EXPECTED_PARAMETER_TYPE_MISMATCH, EXPECTED_RETURN_TYPE_MISMATCH, EXPECTED_PARAMETERS_NUMBER_MISMATCH
instead of reporting TYPE_MISMATCH on the whole function literal)
2012-12-25 19:12:00 +04:00
Svetlana Isakova 972b234db6 KT-3150 Kotlin m4 don't recognize function literals
#KT-3150 fixed

 added check for PLACEHOLDER_FUNCTION_TYPE to constraint system
2012-12-25 19:12:00 +04:00
Evgeny Gerashchenko e3a30b10a9 Not writing fake parameters of enum constructors to generic signature. 2012-12-25 15:20:57 +04:00
Evgeny Gerashchenko 5e5cd86194 Regenerated test data. 2012-12-20 18:48:47 +04:00