Commit Graph

3757 Commits

Author SHA1 Message Date
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
pTalanov f72d74afff Rebuilt dart.jar. 2012-02-29 14:29:20 +04:00
Leonid Shalupov 461c8d773d use full ASM library to satisfy plugin verifier 2012-02-29 13:08:16 +04:00
Evgeny Gerashchenko fd7397a1ce Got rid of auto-popuping of live templates
#KT-1459 fixed
2012-02-29 11:47:48 +04:00
Evgeny Gerashchenko ddd2b5b245 Got rid of live template macro name clashing with IDEA's.
#KT-1443 fixed
2012-02-29 10:06:37 +03:00
pTalanov 4945f8c9f5 TODO fixes
Analyzer -> Analyzer Facade
Refactor for translators.
Fix a bug with scopes.
2012-02-28 21:19:23 +04:00
pTalanov c6a90d79d3 Refactoring intrinsics. 2012-02-28 21:19:19 +04:00
pTalanov d7487eea82 Further remove duplication in intrinsics. 2012-02-28 21:19:18 +04:00
pTalanov 6bbc0d2a6e Refactoring duplication in array intrinsics. 2012-02-28 21:19:12 +04:00
pTalanov fe9bb67970 Refactor js.tests. 2012-02-28 21:19:10 +04:00
Andrey Breslav 56a49781bd Fix testlib tests 2012-02-28 19:31:48 +04:00
Stepan Koltsov 5a4391e8bc more asserts that we are not using JavaDescriptorResolver to resolve JetLightClass 2012-02-28 19:24:05 +04:00
Andrey Breslav 452d6f0b1e Fix the build: remove the testlib module from the project 2012-02-28 19:15:54 +04:00
Nikolay Krasko 2dcb7750b2 KT-1401 Introduce Variable: "Add type annotation" checkbox naming 2012-02-28 18:21:57 +04:00
James Strachan cf73c1f3e2 Merge branch 'master' of github.com:JetBrains/kotlin 2012-02-28 11:57:20 +00:00
James Strachan 949b2ce070 moved the common test helper methods into the kool.test package as a reusable library 2012-02-28 11:56:49 +00:00
Stepan Koltsov 4ea99fc6ca KotlinCompiler -stubs option
* do not fail on errors
* do not analyze function bodies
* generate "throw new RuntimeException()" in bytecode
2012-02-28 15:52:59 +04:00
pTalanov 64dc73fef2 KotlinPlugin artifact fix. 2012-02-28 15:40:09 +04:00
James Strachan a8435c0fe6 moved the useful test methods into the kotlin-test jar so its easy to reuse on other modules/projects 2012-02-28 11:21:45 +00:00
pTalanov 57c9de776e Move TestConfig to js.tests module. Remove K2JSTranslationUtils. Remove core.Dummy class. TestConfig references library files using project file structure instead of getResourceAsStream. 2012-02-28 15:18:16 +04:00
pTalanov 8c2d20f303 Remove js.libraries from the project 2012-02-28 13:59:30 +04:00
pTalanov d6572f8094 Merge remote-tracking branch 'origin/master' 2012-02-28 13:32:48 +04:00
James Strachan 84327d06c1 added a demonstration of how Kotlin currently handles nullable collections on for loops - by throwing NPEs 2012-02-28 09:08:39 +00:00
Alex Tkachman 9ba1dbf98a refactoring in progress 2012-02-27 22:59:34 +02:00
Svetlana Isakova 1610e7eefd fixes after merge 2012-02-27 22:11:13 +04:00
pTalanov c21ea8aa86 add test files 2012-02-27 21:55:58 +04:00
Svetlana Isakova 631961e761 Diagnostics & diagnostic factories refactoring 2012-02-27 21:39:26 +04:00
pTalanov 645a3a9f2f Got rid of Junit assertion error in Suite 2012-02-27 20:45:35 +04:00
pTalanov 75b2334401 Merge remote-tracking branch 'origin/master' 2012-02-27 19:57:37 +04:00
pTalanov 3fc7e849de Reverting wrong changes 2012-02-27 19:15:28 +04:00
pTalanov 953c33a846 Project structure fixed 2012-02-27 19:07:59 +04:00
pTalanov 8bfa313ad4 switched to using dartc.jar
deleted module js.ast
2012-02-27 18:49:55 +04:00
Evgeny Gerashchenko 4c70d341b1 Added stdlib function withIndices() converting sequence (Iterable) to sequence of index-value pairs.
#KT-1195 fixed
2012-02-27 17:43:20 +04:00