Andrey Breslav
7e7e779e80
No printing of verbose compiler output in Ant task and REPL
2012-11-13 19:38:20 +04:00
Natalia.Ukhorskaya
31b28cec92
Default setter for property: skip receiver argument
2012-11-13 19:03:20 +04:00
Natalia.Ukhorskaya
ba2eab526a
Extension properties in class: don't put receiver on stack for GETFIELD/PUTFIELD instruction
...
#KT-3031 Fixed
2012-11-13 19:03:20 +04:00
Andrey Breslav
f868d965e1
Report system-independent source file paths
2012-11-13 16:06:13 +04:00
Andrey Breslav
388cfc5e1a
Fixing test data to account for new logging
2012-11-13 15:18:12 +04:00
Andrey Breslav
3a1f3532a0
Reporting real source file paths from K2JS compiler
2012-11-13 15:18:12 +04:00
Andrey Breslav
ddf99e0726
Process outputs as well as logging
2012-11-13 15:18:11 +04:00
Andrey Breslav
8e2c9610d5
Avoid printing logging messages twice
2012-11-13 14:46:34 +04:00
Andrey Breslav
9592bfd62f
Initial implementation for external build
...
#KT-2751 Fixed
#KT-3017 Fixed
#KT-3021 Fixed
2012-11-13 13:46:12 +04:00
Andrey Breslav
f7a6c6f6fd
JPS plugin stub
2012-11-13 13:46:12 +04:00
Andrey Breslav
b5151ebec3
CompilerOutputParser extracted
2012-11-13 13:45:45 +04:00
Andrey Breslav
afa4ee898c
Rename
2012-11-13 13:45:45 +04:00
Andrey Breslav
b2b5ccefbd
Switching from log/learn to reportOutput/add
2012-11-13 13:45:45 +04:00
Andrey Breslav
ef403cc91a
Alternative methods for progress reporting
2012-11-13 13:45:45 +04:00
Andrey Breslav
1e3b334f15
Source files made available where "emitting" is reported
2012-11-13 13:45:45 +04:00
Andrey Breslav
cca21e96c1
Progress class moved to jvm backend
2012-11-13 13:45:44 +04:00
Evgeny Gerashchenko
3fce07b83a
Arranged generator classes into packages to make it possible to compile GenerateInjectors separately.
2012-11-12 20:40:23 +04:00
Evgeny Gerashchenko
4916921849
Moved & renamed GenerateTuplesAndFunctions.
2012-11-12 20:01:06 +04:00
Evgeny Gerashchenko
666aecf716
Extracted generator of ranges into GenerateRanges class.
2012-11-12 19:54:23 +04:00
Evgeny Gerashchenko
97d749f361
Made GenerateTests even more compact!
2012-11-12 19:54:22 +04:00
Evgeny Gerashchenko
799a986812
Renamed *.jet to *.kt in test data of JetPsiCheckerTest.
2012-11-12 19:54:22 +04:00
Evgeny Gerashchenko
8d7e79c806
Renamed & moved AllInjectorsGenerator.
2012-11-12 19:54:22 +04:00
Evgeny Gerashchenko
47dd399cdd
Regenerated tests.
2012-11-12 19:54:22 +04:00
Evgeny Gerashchenko
7b677d7ff1
Moved test generating code into TestsGenerator, got rid of duplicates.
2012-11-12 18:30:50 +04:00
Evgeny Gerashchenko
cdc96225d0
Introduced simplest GenerateTests.
2012-11-12 18:30:50 +04:00
Svetlana Isakova
2f77202d29
Refactoring: change signature
2012-11-12 15:32:12 +04:00
Svetlana Isakova
82e9d1f4fa
logic for fake value arguments creation
...
moved to 'resolveFakeCall' method
2012-11-12 15:32:12 +04:00
Svetlana Isakova
32391e217a
'resolveExactSignature' removed
2012-11-12 15:32:12 +04:00
Svetlana Isakova
a90db452ff
resolveFakeCall instead of resolveExactSignature
...
usage changed in tests
2012-11-12 15:32:12 +04:00
Svetlana Isakova
e9c8be8449
complete type inference only for one candidate
...
(the most specific)
to avoid exponential resolve of value arguments for several candidates
where type inference is incomplete (or depends on expected type)
2012-11-12 15:32:11 +04:00
Svetlana Isakova
dda3091dfb
'CANNOT_COMPLETE_RESOLVE' error added
2012-11-12 15:32:11 +04:00
Svetlana Isakova
eb5b551114
'moreSpecific' fix
...
if both functions are generic, no need to check receiver and parameters
before recursive call with substituted bounds
2012-11-12 15:32:11 +04:00
Svetlana Isakova
e7750c6dc7
OverloadingConflictResolver made singleton
2012-11-12 15:32:11 +04:00
Svetlana Isakova
adcb9e6e8a
moved code for successful / failed candidates separation
...
to ResolutionResultsHandler
2012-11-12 15:32:11 +04:00
Svetlana Isakova
a6f437d363
removed ResolutionStatus.TYPE_INFERENCE_ERROR constant
2012-11-12 15:32:11 +04:00
Natalia.Ukhorskaya
b5a3486131
Back-end: correct indexes of local variables for double and long
...
#KT-3033 Fixed
2012-11-12 15:03:54 +04:00
Natalia.Ukhorskaya
94fbf2bdf4
Add labels for extension properties
...
#KT-2824 Fixed
2012-11-12 13:23:00 +04:00
Andrey Breslav
d4212ecdfc
Ignoring proguard errors from xstream
2012-11-12 13:10:52 +04:00
Andrey Breslav
b4907efd80
Updating to IDEA public preview 122.746
2012-11-12 12:52:27 +04:00
Andrey Breslav
8fc46680d6
Usinf io.File instead of concatenating paths
2012-11-12 11:55:19 +04:00
Andrey Breslav
9619de2060
Module script generator fixed
...
It used to put system-dependent paths into script files, which resulted in syntactically incorrect string literals on Windows:
sources += "C:\foo.kt" // \f is wrong here
Solution: convert paths to system-independent form (forward slashes)
2012-11-12 11:54:45 +04:00
Andrey Breslav
d6c8b8683b
Failed test toutput improved
2012-11-12 11:52:59 +04:00
Andrey Breslav
57120e6d5c
Migrating script generation onto java.io.File
2012-11-09 21:56:32 +04:00
Andrey Breslav
0b6b8873b9
Module names in exception messages
2012-11-09 21:56:32 +04:00
Andrey Breslav
8920920686
Helper method
2012-11-09 21:56:32 +04:00
Andrey Breslav
c01587a0b1
Common functionality factored out of OutputItemsCollectorImpl
...
To be re-used by external build
2012-11-09 21:56:31 +04:00
Andrey Breslav
e2d504c78e
Report raw paths, not URLs, convert when needed
2012-11-09 21:56:31 +04:00
Andrey Breslav
3d394cc49b
The code that executes the KotlinToJVM compiler moved to an independent module
...
To be re-used by external build
2012-11-09 21:56:31 +04:00
Andrey Breslav
e9e9ebba9c
Exceptions are reported through message collector
...
This will later allow us to move this code to a separate module, where loggers are not available
2012-11-09 21:56:30 +04:00
Andrey Breslav
4926dd7189
Code that runs the compiler is migrated onto MessageCollector
...
CompilerEnvironment migrated to use io.Files instead of VirtualFiles
This prepares the move of this code to the separate module, to be re-used by external build
2012-11-09 21:56:30 +04:00