Commit Graph

2064 Commits

Author SHA1 Message Date
Leonid Shalupov 58c0ad3c46 ant task fixes + first integration test 2012-05-07 18:12:06 +04:00
Leonid Shalupov c6e2a5a9f6 compilation failed integration test 2012-05-07 17:33:05 +04:00
Leonid Shalupov c404396cef module compilation integration tests + changed test data layout 2012-05-07 17:25:13 +04:00
pTalanov 869a8ab1ba Refactoring of K2JSTranslator and neighboring classes
Drop GenerationUtils
Introduce MainCallParameters
Generate calls to main function together with the other code in contrast to as text afterwards
Enhance tests a bit
2012-05-05 18:50:02 +04:00
pTalanov 9681a61fd2 Pure cosmetics in K2JSCompiler* 2012-05-05 17:10:58 +04:00
Stepan Koltsov 80aee299ba remove nop code 2012-05-04 23:57:14 +04:00
Stepan Koltsov dd332bc08c -mode idea
#KT-1893 Fixed
2012-05-04 23:57:13 +04:00
Stepan Koltsov 78a4ebe236 comma 2012-05-04 23:57:12 +04:00
Leonid Shalupov 4a0f929fc3 bin scripts to call js compiler 2012-05-04 23:50:41 +04:00
pTalanov 397928c4e4 K2JSCompiler cli:
Refactor.
Support zipped library sources as parameter.
Support output file path as parameter.
2012-05-04 23:15:37 +04:00
pTalanov d23cca223d K2JSCompiler generates output file 2012-05-04 23:15:36 +04:00
Svetlana Isakova 765d851b1a Tests for fixed issues
#KT-1736 fixed
 #KT-1244 fixed
 #KT-1738 fixed
2012-05-04 20:47:26 +04:00
Svetlana Isakova 22e9e7de10 more small tests 2012-05-04 20:47:26 +04:00
Andrey Breslav 821127ac7e Immediate recursion allowed in substitutions
The assertion is kept commented for future use
2012-05-04 20:07:41 +04:00
Andrey Breslav f82e46e3ac Proper message
My little daily WTF...
2012-05-04 20:07:41 +04:00
Andrey Breslav 2c8b3c879c TypeSubstitutor rewritten to be more readable 2012-05-04 20:07:40 +04:00
Andrey Breslav 7390aeb022 Diagnostic fixed 2012-05-04 20:07:40 +04:00
Andrey Breslav 5dc8cf48bc TypeSubstitution moved to top level 2012-05-04 20:07:40 +04:00
Andrey Breslav 3ca8bf6f63 Clarifying renamings 2012-05-04 20:07:40 +04:00
Andrey Breslav c9c482925c More details in the error message 2012-05-04 20:07:40 +04:00
Andrey Breslav f7422a12bc Loop header cleaned up 2012-05-04 20:07:39 +04:00
Andrey Breslav 6ba44a133f Tests for recursive upper bounds 2012-05-04 20:07:39 +04:00
Andrey Breslav a0367bcfa2 Guard from immediately recursive substitutions
* substitutions of the form T -> T are removed
* an assertion added against nontrivial cases like T -> Foo<T>
2012-05-04 20:07:39 +04:00
Andrey Breslav 22166bad1b Proper debug name 2012-05-04 20:07:39 +04:00
Leonid Shalupov 4eae229127 reworked kotlin compiler dist 2012-05-04 19:12:02 +04:00
Stepan Koltsov 743c14f239 JDR: hide static members from superclasses
#KT-1880 Fixed
2012-05-04 19:06:57 +04:00
pTalanov d327777821 Verbose parameter treated correctly
Fixes CompilerSmokeTest broken by previous commit
2012-05-04 18:14:11 +04:00
pTalanov 3e3a22a5c9 CLI refactoring.
Some steps towards nice K2JS cli.
2012-05-04 16:23:31 +04:00
Svetlana Isakova 53397d7130 tests for KT-606 dependents & duplicates
#KT-1489 fixed
 #KT-1728 fixed
2012-05-04 14:54:12 +04:00
Svetlana Isakova 335f0a6b5e 'isSafeCall' method added to ResolvedCall 2012-05-03 22:02:30 +04:00
Evgeny Gerashchenko c794435640 When type reference is unresolved, type of expression is considered error. 2012-05-03 20:51:42 +04:00
Svetlana Isakova 3053ac78e4 MUST_BE_WRAPPED_IN_A_REF was renamed to CAPTURED_IN_CLOSURE (immutable variables are stored there as well) 2012-05-03 19:30:13 +04:00
Stepan Koltsov f4527b8167 better method name 2012-05-03 18:30:47 +04:00
Stepan Koltsov fcee8a4133 test vararg string loading 2012-05-03 18:23:37 +04:00
Svetlana Isakova d4b816ef56 KT-1743 Analyze immutable local variables and parameters which are captured in closure
#KT-1743 fixed
2012-05-03 17:56:45 +04:00
Stepan Koltsov 08abd992c9 complicate kt471 test back 2012-05-03 17:39:08 +04:00
Alex Tkachman e18e35c40c KT-785 test 2012-05-03 16:20:28 +03:00
Alex Tkachman 25c804431b test for KT-606 2012-05-03 16:12:44 +03:00
Andrey Breslav 08c074c5be SubstitutionUtils extracted from TypeUtils 2012-05-03 17:08:43 +04:00
Stepan Koltsov d7cb2f2482 resolve idea classes 2012-05-03 17:05:37 +04:00
Stepan Koltsov 28dc1ba6be resolve int vararg from java 2012-05-03 17:05:37 +04:00
Stepan Koltsov e0ea953ba2 stdlib is not needed in ResolveDescriptorsFromExternalLibraries test 2012-05-03 17:05:37 +04:00
Andrey Breslav 086827d4ca Problematic diagnostics commented out
The commented code fails on CI server
2012-05-03 16:57:46 +04:00
Svetlana Isakova bdb7de142a Member 'invoke' of function class should be abstract 2012-05-03 16:15:08 +04:00
Andrey Breslav c5b7b5ad5a idea-full already contains junit4 2012-05-03 15:56:33 +04:00
Svetlana Isakova 8723bbcac5 KT-1875 Safe call should be binded with receiver or this object (but not with both by default)
#KT-1875 fixed
2012-05-03 14:46:06 +04:00
Andrey Breslav 47934b1fe7 KT-1575 Can't define a fix-point generic type
#KT-1575 Fixed
2012-05-03 14:43:53 +04:00
Andrey Breslav 3bdc3167e8 Typo fixed 2012-05-03 14:43:53 +04:00
Alex Tkachman d58e988ca5 incorporating Sveta's patch on VariableAsFunctionResolvedCall 2012-05-03 12:56:51 +03:00
Evgeny Gerashchenko 2fcc7b0cbb Implemented compacting type names and adding valid imports in override/implements handler.
#KT-1602 fixed
2012-05-02 19:54:29 +04:00