Commit Graph

4254 Commits

Author SHA1 Message Date
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
Leonid Shalupov 461c8d773d use full ASM library to satisfy plugin verifier 2012-02-29 13:08:16 +04:00
James Strachan 84f4783192 fixed up the attribute helper method 2012-02-29 09:07:59 +00:00
James Strachan ed5e61911e use nicer name for the css classes property, added classSet for contains/iteration support and an addClass/removeClass method to Element along with better tests of CSS class support 2012-02-29 09:00:42 +00: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
Evgeny Gerashchenko 12f7d463ad Fixed compilation of example-vfs project. 2012-02-27 17:43:20 +04:00
Andrey Breslav 963557f3c8 KT-1457 Subtyping doesn't work when type parameter is used indirectly in supertype declaration 2012-02-27 15:34:57 +04:00
pTalanov 8d6525f23f initial changes 2012-02-27 15:30:52 +04:00