Commit Graph

2318 Commits

Author SHA1 Message Date
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 0e850e5d30 all instructions should be traversed
while reversed order is needed
not only reachable from sink instruction
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
Andrey Breslav a070f62317 Field renamed for easier debugging 2012-06-09 13:24:35 +04:00
Andrey Breslav aba0302bf7 Flipped the wrong condition 2012-06-09 12:54:49 +04:00
Andrey Breslav c6cc6d5e1c Lazy resolve: Import root scope into files 2012-06-09 12:50:43 +04:00
Stepan Koltsov 084175722b fix classpath construction in repl 2012-06-09 00:48:58 +04:00
Stepan Koltsov 8c7a879e65 jline for repl 2012-06-09 00:28:17 +04:00
Stepan Koltsov 48b1ab417b invoke repl from command line 2012-06-09 00:28:17 +04:00
Stepan Koltsov bc82284d83 add stdlib to repl classpath 2012-06-09 00:19:34 +04:00
Nikolay Krasko b104d70196 More aggressive block cache invalidation for declarations with type inference 2012-06-08 22:53:17 +04:00
Stepan Koltsov acac0eddc7 formatting 2012-06-08 21:36:49 +04:00
Stepan Koltsov 321c781c90 some documentation of jvm backend 2012-06-08 21:36:48 +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 2ac6a7c928 fix message order in namespace codegen 2012-06-08 17:57:03 +04:00
Stepan Koltsov 671634c7c2 rename poison to used 2012-06-08 17:57:03 +04:00
Svetlana Isakova 18e45f3c27 inlined method 'referenceToDescriptor' 2012-06-08 15:28:11 +04: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
Andrey Breslav 1fe272d592 Change test data, YET AGAIN 2012-06-08 12:40:53 +04:00
Stepan Koltsov 59c9e328a7 temporarily disable tests that fail on teamcity 2012-06-08 05:13:29 +04:00
Stepan Koltsov 5580016fd2 fix compilation 2012-06-08 04:32:47 +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 6f78e9e99b ExceptionUtils.rethrow accepts Throwable 2012-06-08 04:19:24 +04:00
Stepan Koltsov 177b3eae5e do not generate namespace class for empty namespace 2012-06-08 04:19:23 +04:00
Stepan Koltsov 6860d330f9 poison GenerationState 2012-06-08 04:19:23 +04:00
Stepan Koltsov 8a3d3d21bd better script class name 2012-06-08 04:19:23 +04:00
Stepan Koltsov 2d88c74635 JvmClassName: equals and hashCode 2012-06-08 03:39:49 +04:00
Stepan Koltsov d1c566f1de JvmClassName: @NotNull, transient annotations 2012-06-08 03:39:30 +04:00
Stepan Koltsov 3620dcab75 JvmClassName.toString 2012-06-08 03:39:18 +04:00
Stepan Koltsov a929f86127 primary field of JvmClassName must be internal name
because fq name can be mapped to different internal names
2012-06-08 03:39:04 +04:00
Stepan Koltsov 5468af848e kill JvmClassName from Class constructor
compiler itself and compiler data should not be mixed
2012-06-08 03:38:42 +04:00
Stepan Koltsov 2ae632aa9a chop Impl suffix when generating field name 2012-06-08 03:38:28 +04:00
Stepan Koltsov 1dd7a38c3a lock scope
(for better, safer code)
2012-06-08 03:38:24 +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
Svetlana Isakova ec5aed82af KT-2207 Syntax errors are not reported from the compiler
#KT-2207 fixed
2012-06-07 18:28:37 +04:00
Andrey Breslav 07d519a2d0 Missing space added 2012-06-07 17:52:52 +04:00
Andrey Breslav c4b00d0498 Fixed test data 2012-06-07 17:49:41 +04:00
Nikolay Krasko 8624f24b56 Fix line separators in expected string 2012-06-07 17:45:21 +04:00