Andrey Breslav
19afb2fcb8
Make candidate resolver force-resolve type arguments on argument count mismatch
2014-11-10 17:24:05 +02:00
Andrey Breslav
4892369cf4
Diagnostic tests are logging their lazy activity
2014-11-10 17:24:04 +02:00
Andrey Breslav
8436147cec
KT-1056 Don't allow passing type arguments to T
...
#KT-1056 Fixed
2014-11-10 17:23:58 +02:00
Andrey Breslav
35766dfa20
Additional/forced resolve for lazy types
2014-11-10 17:23:58 +02:00
Andrey Breslav
7d9be42969
LazinessTokens introduced to enable/disable building lazy types
2014-11-08 15:51:41 +02:00
Andrey Breslav
2334bf4c70
Resolution of type constructors in TypeResolver is now lazy (for types in declarations)
2014-11-08 15:51:41 +02:00
Andrey Breslav
adafd70730
Abstract lazy type moved to descriptors
2014-11-08 15:51:41 +02:00
Andrey Breslav
266262df68
TypeResolver converted to Kotlin
2014-11-08 15:51:40 +02:00
Andrey Breslav
ccc489abfd
Inter-field dependencies fixed for fields used as context
...
The problem was that when GivenExpression was used to initialize a feld, the generator did not know that there's
a dependency on the receiver of the call inside the expression, so it could place the call before the initialization of the receiver,
which caused a compilation error. Now dependencies are tracked explicitly
2014-11-08 15:51:40 +02:00
Svetlana Isakova
fad4261448
KT-6132 No smart completion for argument of java static method
...
#KT-6132 Fixed
2014-11-08 10:36:25 +03:00
Valentin Kipyatkov
d4275e1110
Added test for KT-6132
2014-11-08 10:36:25 +03:00
Svetlana Isakova
de6cdf19ac
Improved assert error message
2014-11-08 10:36:24 +03:00
Zalim Bashorov
ab8979c614
Revert "Workaround for bootstrapping with changes in kotlin2js ant task and cli compiler."
...
This reverts commit a5b928782b .
2014-11-07 19:53:03 +03:00
Natalia Ukhorskaya
42257218b6
Fix tests after adding lineNumber for functions without return expression
2014-11-07 17:18:02 +03:00
Denis Mekhanikov
323df9498a
stdlib: fix DropStream & TakeStream mutliple iteration
2014-11-07 17:14:58 +03:00
Denis Mekhanikov
80493aa4e6
stdlib: improve tests
2014-11-07 17:14:57 +03:00
Denis Mekhanikov
495967a573
stdlib: fix documentation for some IO functions
2014-11-07 17:14:57 +03:00
Denis Mekhanikov
23397d17dc
stdlib: simplify File.recurse and File.extension functions
2014-11-07 17:14:56 +03:00
Denis Mekhanikov
1a4c11cb98
stdlib: rearrange IO functions
2014-11-07 17:14:56 +03:00
Zalim Bashorov
3e7b0be68d
K2JS: test that UNUSED_PARAM warnings inside native declarations and all warnings from stdlib was suppressed.
2014-11-07 16:30:52 +03:00
Zalim Bashorov
a5b928782b
Workaround for bootstrapping with changes in kotlin2js ant task and cli compiler.
2014-11-07 16:30:52 +03:00
Zalim Bashorov
adab0445de
K2JS: introduce "no-stdlb" parameter and use stdlib from compiler by default.
2014-11-07 16:30:52 +03:00
Zalim Bashorov
e457eea438
Use JarFileSystem for collect kotlin files inside archive instead of own implementation.
2014-11-07 16:30:52 +03:00
Zalim Bashorov
aecd2be25e
Introduce constant for "kt".
2014-11-07 16:30:51 +03:00
Zalim Bashorov
ab5d34c373
Reset extensions cache in DiagnosticsWithSuppression when Application changed(that hepens in tests).
2014-11-07 16:30:51 +03:00
Zalim Bashorov
b3defdbf90
JS tests: create JetFiles by JetPsiFactory instead of by PsiManager to avoid to access to PsiManager after it disposed.
...
That fixed js tests after changes in DiagnosticsWithSuppression.
2014-11-07 16:30:51 +03:00
Zalim Bashorov
38d5f2ee2b
Extract the suppressing logic for debugger.
2014-11-07 16:30:51 +03:00
Zalim Bashorov
cd20301283
JS frontend: suppress warnings from stdlib.
2014-11-07 16:30:51 +03:00
Zalim Bashorov
c8556ec1f7
JS frontend: suppress UNUSED_PARAM for native declarations.
...
#KT-2141 Fixed
2014-11-07 16:30:51 +03:00
Zalim Bashorov
624f5c4c34
Minor: moved test for check the iterating over String to common place.
...
#KT-3617 Fixed
2014-11-07 16:30:50 +03:00
Alexander Udalov
70d0c2ff92
Generate generic signature to collection method stubs
...
#KT-6213 Fixed
2014-11-07 16:10:12 +03:00
Natalia Ukhorskaya
d4b0977381
Debugger: stop at closing bracket for functions without return statement
2014-11-07 15:10:41 +03:00
Evgeny Gerashchenko
878aac1acb
Fixed test on Windows (slashes issue).
2014-11-07 14:52:40 +03:00
Evgeny Gerashchenko
d72f31de61
Updating Java mappings only for incremental mode.
...
Avoiding executing this code on TeamCity, which fails on TeamCity 8.x
2014-11-07 14:52:05 +03:00
Evgeny Gerashchenko
fe2d54dc5d
Correct checking for action availability.
2014-11-07 14:52:05 +03:00
Evgeny Gerashchenko
e51296b047
Extracted function which creates compiler environment.
2014-11-07 14:52:04 +03:00
Evgeny Gerashchenko
a840e4d122
Extracted functions which update incremental caches, etc
2014-11-07 14:52:04 +03:00
Evgeny Gerashchenko
a797f82ce2
Extracted methods compiling to JS and JVM in KotlinBuilder.
2014-11-07 14:52:03 +03:00
Evgeny Gerashchenko
97b516a600
Improved output dir checking in KotlinBuilder.
...
Output dir for representative target is necessary only for JS part: moved there.
2014-11-07 14:52:02 +03:00
Evgeny Gerashchenko
155775f925
Minor. Added test when compilation error is introduced and fixed in other package.
2014-11-07 14:52:02 +03:00
Evgeny Gerashchenko
1e2c4659cd
Committed wrong behavior of Java+Kotlin incremental compilation (Java files recompiled twice).
2014-11-07 14:52:01 +03:00
Evgeny Gerashchenko
7f49a8c159
Added tests with redeclaration. The behavior is correct (compilation error), while diagnostic message is not ideal.
2014-11-07 14:52:01 +03:00
Evgeny Gerashchenko
47e16390a9
Added test with conflicting function overloads in different files.
2014-11-07 14:52:00 +03:00
Evgeny Gerashchenko
21105fcae4
Tests with SAM conversions.
2014-11-07 14:51:59 +03:00
Evgeny Gerashchenko
3237791433
Added tests with adding method to superclass.
2014-11-07 14:51:58 +03:00
Evgeny Gerashchenko
86dd7ec880
Tests: converting Java to Kotlin and back.
2014-11-07 14:51:57 +03:00
Evgeny Gerashchenko
c0b0a17256
Supported incremental compilation tests when compilation fails in the end.
2014-11-07 14:51:56 +03:00
Evgeny Gerashchenko
335c3f4506
Tests with renamed method, incremental compilation between Kotlin and Java.
2014-11-07 14:51:56 +03:00
Evgeny Gerashchenko
e1180983aa
Replaced absolute paths with macro in compilation errors.
2014-11-07 14:51:55 +03:00
Evgeny Gerashchenko
9234ef3803
Tests with constants, incremental compilation between Kotlin and Java.
2014-11-07 14:51:54 +03:00