Commit Graph

651 Commits

Author SHA1 Message Date
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 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
Andrey Breslav f01b5ee55a Formatter 2012-06-09 16:52:54 +04:00
Andrey Breslav 0e0bf60e90 Clarifying comment 2012-06-09 16:52:53 +04: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
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
Andrey Breslav 8358afbcd1 More diagnostic messages + output filter 2012-06-09 15:49:26 +04:00
Andrey Breslav c55bf8600e Fix rendering of error types 2012-06-09 13:41:49 +04:00
Stepan Koltsov acac0eddc7 formatting 2012-06-08 21:36:49 +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
Stepan Koltsov 8d0a008529 trying to fix ReplInterpreterTest on teamcity 2012-06-08 18:17:29 +04:00
Stepan Koltsov 59c9e328a7 temporarily disable tests that fail on teamcity 2012-06-08 05:13:29 +04:00
Stepan Koltsov 6946abbcea working on REPL: implemented previous lines importing 2012-06-08 04:19:24 +04:00
Stepan Koltsov c580a75f20 generate to text even if assertion error 2012-06-08 04:19:24 +04:00
Stepan Koltsov 18aa1dc570 script parameter closure 2012-06-08 04:19:24 +04:00
Stepan Koltsov 8a3d3d21bd better script class name 2012-06-08 04:19:23 +04:00
Andrey Breslav e3b8e977fb Added a check that all files in the file system are matched by the generated test 2012-06-07 20:42:50 +04:00
Svetlana Isakova 9e0e0e92df inlined 'getType' method without 'DataFlowInfo' parameter 2012-06-07 19:42:37 +04:00
Nikolay Krasko 8624f24b56 Fix line separators in expected string 2012-06-07 17:45:21 +04:00
Andrey Breslav b5f5ba7e32 KT-2184 Fix rendering of error types
#KT-2184 Fixed
2012-06-07 15:52:39 +04:00
Andrey Breslav 37560fac10 Working on integrating lazy resolve with Java interop. 2012-06-07 15:45:34 +04:00
Andrey Breslav 4d1ce46779 Obsolete test removed 2012-06-07 15:45:33 +04:00
Andrey Breslav 601f2f0fcf Support comparing the builtins namespace 2012-06-07 15:45:33 +04:00
Andrey Breslav a3e76832e3 Re-using test data from readKotlinBinaryClass 2012-06-07 15:45:33 +04:00
Alex Tkachman 243bdccf37 removing duplicating android check 2012-06-07 13:04:53 +03:00
Andrey Breslav 0916ec549d Add verification by dx.jar to CodegenTests
A patch by Natalia Ukhorskaya: https://github.com/JetBrains/kotlin/pull/70

Adds Android verfication to our codegen tests
2012-06-07 12:42:59 +04:00
Stepan Koltsov bace845b49 working on REPL: test template and basic analyzer hacks 2012-06-06 23:58:21 +04:00
Stepan Koltsov bfec04f319 WritableScopeImpl: specify debug name in constructor 2012-06-06 23:58:20 +04:00
Stepan Koltsov 3408c9833c ExceptionUtils.rethrow 2012-06-06 23:58:19 +04:00
Andrey Breslav 9da5fe11d9 Comparing tests generated from test data
For better debugging
2012-06-06 22:13:01 +04:00
Andrey Breslav acee1f5df1 Include subpackages and fake overrides into allDescriptors 2012-06-06 22:13:01 +04: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 7d938dd98f one more step to multi-file compilation 2012-06-06 12:17:25 +03: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 877ecf83ad store script object in CodeGenTest field 2012-06-05 22:56:26 +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
Stepan Koltsov d33c8638d8 JetControlFlowTest doesn't need stdlib or jdk headers 2012-06-05 22:56:25 +04:00
Andrey Breslav c43c5fb697 Initial lazy resolve test comparing descriptors with the existing resolve mechanisms 2012-06-05 15:24:58 +04:00