Commit Graph

774 Commits

Author SHA1 Message Date
Dmitry Jemerov ba76e1467c correct argument index for object that has outer this and closure arguments
#KT-1737 Fixed
2012-06-09 16:20:11 +02:00
Svetlana Isakova 74f4fde180 KT-2240 Wrong overload resolution ambiguity when object literal is involved
#KT-2240 fixed
2012-06-09 17:40:22 +04:00
Evgeny Gerashchenko d5b32ba70e KT-2206 ClassFormatError on loading class with property inherited from trait
#KT-2206 fixed
2012-06-09 17:13:38 +04:00
Evgeny Gerashchenko 64d1d3eda6 KT-2193 Nullability information lost for functions inherited from traits
#KT-2193 fixed
2012-06-09 17:13:38 +04:00
Evgeny Gerashchenko 208dd4e35d Revert commit because two commits fixing separate bugs were accidentally stuck together. Will recommit bugfixes separately.
Revert "KT-2193 Nullability information lost for functions inherited from traits".

This reverts commit d60818fd3e.
2012-06-09 17:13:38 +04:00
Dmitry Jemerov 0a05197454 remove attempt to optimize using 'if' statement as the last one in a loop which created far more problems that it fixed
#KT-1978 Fixed
2012-06-09 15:14:33 +02:00
Evgeny Gerashchenko d60818fd3e KT-2193 Nullability information lost for functions inherited from traits
#KT-2193 fixed
2012-06-09 16:46:37 +04:00
Evgeny Gerashchenko f83defaa7f KT-2228 Open and final trait members are loaded as abstract from binary Kotlin classes.
Added storing modality for trait members in @JetMethod annotations.

 #KT-2228 Fixed
2012-06-09 16:46:37 +04:00
Evgeny Gerashchenko bb0f3f733b Added alternative signature test with vararg parameter. 2012-06-09 16:46:37 +04:00
Evgeny Gerashchenko 0d47bf5472 Added test with syntax error in alternative signature annotation. 2012-06-09 16:46:36 +04:00
Evgeny Gerashchenko 35e020e742 Removed unnecessary copyright comment in test data. 2012-06-09 16:46:36 +04:00
Dmitry Jemerov c9125d3f59 correctly call properties on annotation classes
#KT-1932 Fixed
2012-06-09 14:48:04 +02:00
Andrey Breslav d6f279926c Lazy resolve: Support for imports and Java interop 2012-06-09 15:53:29 +04:00
Svetlana Isakova 58e4157c4d KT-2234 'period!!' has type Int?
#KT-2234 fixed
2012-06-09 13:33:25 +04:00
Svetlana Isakova 2971c1630e KT-2166 Control flow analysis doesn't detect that a 'while(true)' loop never terminates
KT-2103 Compiler requires return statement after loop which never exits
 #KT-2166 Fixed
 #KT-2103 Fixed
2012-06-09 13:33:25 +04:00
Svetlana Isakova 9ede882cd5 KT-2226 Parameter used as delegation by object marked as unused
#KT-2226 fixed
2012-06-09 13:33:25 +04:00
Dmitry Jemerov 102f5c60be generating the body of the finally clause _four_ times is one time too many
#KT-1688 Fixed
2012-06-08 19:21:41 +02:00
Dmitry Jemerov 9eb2dd4bfe test for fixed KT-1721 2012-06-08 18:51:03 +02:00
Dmitry Jemerov 803a5e5b65 test for fixed KT-1891 2012-06-08 18:45:42 +02:00
Dmitry Jemerov 2e14454391 test for fixed KT-1439 2012-06-08 18:45:42 +02:00
Dmitry Jemerov f945ec6a27 return value of try/catch/finally changed according to frontend changes
#KT-910 Fixed
2012-06-08 18:45:41 +02:00
Dmitry Jemerov 8baae95531 if a shared variable is a result of the block, release it only after it has been put
#KT-2151 Fixed
2012-06-08 18:45:41 +02:00
Dmitry Jemerov 56310599a5 for completely empty if statement, put on stack the Tuple0 instance, not its condition (KT-2062)
#KT-2062 Fixed
2012-06-08 18:45:40 +02:00
Dmitry Jemerov 5c21564b05 test for already fixed KT-1611 2012-06-08 18:45:39 +02:00
Svetlana Isakova e05c310cdb KT-2195 error "Only safe calls are allowed ..." but it is function param (val)
#KT-2195
2012-06-08 15:27:49 +04:00
Stepan Koltsov 6946abbcea working on REPL: implemented previous lines importing 2012-06-08 04:19:24 +04:00
Stepan Koltsov 18aa1dc570 script parameter closure 2012-06-08 04:19:24 +04:00
Svetlana Isakova 9e0e0e92df inlined 'getType' method without 'DataFlowInfo' parameter 2012-06-07 19:42:37 +04:00
Andrey Breslav b5f5ba7e32 KT-2184 Fix rendering of error types
#KT-2184 Fixed
2012-06-07 15:52:39 +04:00
Stepan Koltsov bace845b49 working on REPL: test template and basic analyzer hacks 2012-06-06 23:58:21 +04:00
Andrey Breslav 9da5fe11d9 Comparing tests generated from test data
For better debugging
2012-06-06 22:13:01 +04:00
Alex Tkachman 58385eabd8 multi-file namespace compilation 2012-06-06 19:34:31 +03:00
Dmitry Jemerov 5b987ccc15 when calling function stored in local variable as unary operation, don't forget to push function instance (KT-1953)
I'm sure that there are similar cases that still don't work;  please let me know if you find any
#KT-1953 fixed
2012-06-06 17:17:44 +02:00
Dmitry Jemerov 6b84f5d31a correctly coerce values in StackValue.store() (KT-1397)
#KT-1397 fixed
2012-06-06 13:43:34 +02:00
Alex Tkachman 03c4e755fa preparations to multi-file compilation 2012-06-06 11:12:39 +03:00
Stepan Koltsov f27147f752 script: make top level declarations class members 2012-06-05 22:59:07 +04:00
Stepan Koltsov 68ae2e95a3 better ScriptGenTest: check more fields 2012-06-05 22:56:26 +04:00
Stepan Koltsov 9a71cb5e72 CodeGenTest: check result and print code in any blackbox
... and fix test
2012-06-05 22:56:25 +04:00
Andrey Breslav 91606a3901 Introduce 'reified' instead of 'erased' 2012-06-05 20:19:07 +04:00
Evgeny Gerashchenko b89353e094 Added tests for tuple and function types in alternative signatures. 2012-06-05 15:59:18 +04:00
Evgeny Gerashchenko a4c4e2b0f1 Added alternative signature test for method with type parameters. 2012-06-05 15:59:18 +04:00
Andrey Breslav c43c5fb697 Initial lazy resolve test comparing descriptors with the existing resolve mechanisms 2012-06-05 15:24:58 +04:00
Dmitry Jemerov 23cdde5794 test for already fixed KT-1976 2012-06-05 11:51:36 +02:00
Svetlana Isakova 0cd8534230 KT-2069 Cannot call super method when superclass has type parameters
#KT-2069 fixed
2012-06-04 18:56:48 +04:00
Andrey Breslav 84a3974460 Missing test data added 2012-06-04 18:55:36 +04:00
Andrey Breslav febb3c6a3d Recovery set extended
#KT-2172 Fixed
2012-06-04 18:44:09 +04:00
Evgeny Gerashchenko af9ed4082b Renamed MethodWithAlternativeSignature test to MethodWithGenerics, since there will be more tests for methods with alternative signature. 2012-06-04 17:33:34 +04:00
Evgeny Gerashchenko e049bb00d8 Added simplest test for @KotlinSignature parsing. 2012-06-04 15:28:03 +04:00
Dmitry Jemerov 6e3c02b695 test for already fixed KT-1726 2012-06-02 23:27:34 +02:00
Dmitry Jemerov 2020446412 test for KT-1247 (duplicate of KT-1918) 2012-06-02 23:24:14 +02:00