Commit Graph

3790 Commits

Author SHA1 Message Date
pTalanov 25c30e0472 Refactor: predefined annotation become represented as enum, all the logic reside in AnnotationUtils. 2012-02-29 20:51:25 +04:00
pTalanov adcffef920 Refactor AnnotationUtils and NameGenerator 2012-02-29 20:51:24 +04:00
pTalanov 191803f3f6 remove ForTranslatorUtils 2012-02-29 20:51:23 +04:00
pTalanov f800b2a697 Remove outdated TODOs 2012-02-29 20:51:23 +04:00
pTalanov 0660140bf6 Refactor PatternTranslator. 2012-02-29 20:51:22 +04:00
pTalanov 83a8c4263f TODO fix: remove outdated commented code 2012-02-29 20:51:21 +04:00
pTalanov cf2f8e162d Refactor expression mutator. 2012-02-29 20:51:21 +04:00
pTalanov 6e27f2ab3d TODO fixes: refactor 2012-02-29 20:51:20 +04:00
pTalanov 2499a3b845 Remove dead code. 2012-02-29 20:51:19 +04:00
Andrey Breslav 8111d5db97 The +JDK option doesn't seem to make any difference any more: the tests are fast either way 2012-02-29 20:48:11 +04:00
James Strachan 69cc340051 avoid use of Map.size to avoid breaking a test case 2012-02-29 16:43:27 +00:00
Andrey Breslav 9465bd474a Merge pull request #2 from Frostman/master
Fix for KT-1310 Incorrect hint (by Sergey Lukjanov)
2012-02-29 08:40:57 -08:00
Sergey Lukjanov 6e1bf6ee40 Merge branch 'master' of git://github.com/JetBrains/kotlin 2012-02-29 20:28:40 +04:00
Stepan Koltsov 28ff40e659 KT-1456 ISE in JavaDescriptorResolver ...
KT-1456 ISE in JavaDescriptorResolver on attempt to create subclass
with partially specifying type arguments

Also add internal state checks.
2012-02-29 19:42:17 +04:00
Nikolay Krasko a9bab96e33 Auto-import before object declaration corrupts code 2012-02-29 19:37:17 +04:00
Sergey Lukjanov d2ec50b9a9 Fix for When_ERR test 2012-02-29 19:28:29 +04:00
Sergey Lukjanov b8da7ea452 '=>' replaced with '->' in hints 2012-02-29 19:26:31 +04:00
Nikolay Krasko 042dc82bd5 Merge pull request #1 from Frostman/master
Fix for KT-1334 Class object in "Show Structure View" action
2012-02-29 07:21:57 -08:00
Stepan Koltsov 20ca194eef refactor TypeVariableResolver
* simplified and unified
* better diagnostics (if type variabe is not found, exception message contains reference)
2012-02-29 19:21:10 +04:00
James Strachan 6b51c20858 avoid custom copy/paste on map methods for arrays 2012-02-29 14:30:39 +00:00
James Strachan 59460c7afa split map() with default arguments into map() and mapTo(resultCollection) to simplify IDE/completion/compiler error messages 2012-02-29 14:25:11 +00:00
Sergey Lukjanov de1c4aa89f Element text for "class object" added 2012-02-29 18:11:39 +04:00
James Strachan fe78ac5e67 Merge branch 'master' of github.com:JetBrains/kotlin 2012-02-29 13:59:34 +00:00
pTalanov 35ea508f4c Fix tests to work in a clean environment.
Share javascript backend tests.
2012-02-29 17:32:23 +04:00
pTalanov 5862ea00f0 Fix name for tests. 2012-02-29 17:32:21 +04:00
pTalanov ee27415bf7 Make test create and delete out directories. 2012-02-29 17:32:19 +04:00
pTalanov f8673ceb79 TODO fix: Remove dead code.
Use util method in CallType
2012-02-29 17:32:18 +04:00
pTalanov d41515765e JsAstUtils.equals -> equality 2012-02-29 17:32:17 +04:00
Nikolay Krasko 84efd8536f KT-1151 Code completion for not imported extension functions - test for completion not-imported function on nullable type 2012-02-29 17:14:09 +04:00
Nikolay Krasko 1b67699240 Enable check for declaring collection with classes 2012-02-29 17:14:09 +04:00
Nikolay Krasko 8d1c3dc759 KT-1151 Code completion for not imported extension functions - refactorings:
- Don't touch call resolver
- Check only newly imported descriptors
- Use Stepa's wrapper for getting boolean attribute from annotation
2012-02-29 17:14:08 +04:00
Nikolay Krasko a086e3985e KT-1151 Code completion for not imported extension functions - more tests for extension functions and properties 2012-02-29 17:14:07 +04:00
Nikolay Krasko 67dc9ba6e3 KT-1151 Code completion for not imported extension functions - ignore parameters 2012-02-29 17:14:06 +04:00
Nikolay Krasko 0a669b9c01 KT-1151 Code completion for not imported extension functions - test for completion extension function without params 2012-02-29 17:14:06 +04:00
Nikolay Krasko e6b79debb2 KT-1151 Code completion for not imported extension functions - completion for extension functions when function doesn't have parameters 2012-02-29 17:14:05 +04:00
Leonid Shalupov ebae3fca2b Enable plugin verifier in build 2012-02-29 17:12:55 +04:00
Stepan Koltsov 67acb4c1e2 toString in error message 2012-02-29 17:03:48 +04:00
pTalanov 71cb3cfde2 Add missing libs to js_libs.
Fix JsAstUtil using wrong Nullable annotation.
2012-02-29 16:03:12 +04:00
pTalanov b6add5b198 Merge remote-tracking branch 'origin/master' 2012-02-29 15:58:20 +04:00
pTalanov 0698da5775 Reorganised lib directory in js.translator. 2012-02-29 15:58:07 +04:00
Andrey Breslav 200b6fbd91 Better error reporting from the compiler to the IDE 2012-02-29 15:11:34 +04:00
James Strachan 821a127655 temporily remove the map function until the code geneartion is working again 2012-02-29 11:09:06 +00:00
pTalanov f72d74afff Rebuilt dart.jar. 2012-02-29 14:29:20 +04:00
James Strachan 7f4bc1a121 split the filter method into filter(predicate) and filterTo(result, predicate) for easier completion & avoid confusion - seems 2 methods is better than the default arguments approach 2012-02-29 09:51:38 +00:00
James Strachan 27ece9c765 split the filter method into filter(predicate) and filterTo(result, predicate) for easier completion & avoid confusion - seems 2 methods is better than the default arguments approach 2012-02-29 09:51:22 +00:00
James Strachan 91f531357c removed TODO and unnecessary verbosity 2012-02-29 09:21:43 +00:00
James Strachan 13ee00a5aa added test case demonstrating subscript operators on lists 2012-02-29 09:19:44 +00:00
James Strachan f1466449a8 made it easier to pass fails blocks 2012-02-29 09:19:23 +00:00
James Strachan 54a38127e1 made it easier to pass fails blocks 2012-02-29 09:19:10 +00:00
James Strachan 99269eca8e added helper test class 2012-02-29 09:17:50 +00:00