Svyatoslav Scherbina
5c0cb5e236
stdlib: add kotlin.io.print*(Any?)
2017-03-10 15:30:18 +07:00
Svyatoslav Scherbina
2cdff9d1e7
stdlib: add companion objects for Enum and String
2017-03-10 15:30:18 +07:00
Svyatoslav Scherbina
06ba63af06
backend/tests/external: Mute tests with java collection inheritance
2017-03-10 15:03:43 +07:00
Svyatoslav Scherbina
7f72c1c037
backend/tests/external: Mute tests depending on Math
2017-03-10 15:03:43 +07:00
Svyatoslav Scherbina
9e58f884d3
build/tests: check exit status instead of output of external tests
2017-03-10 14:34:10 +07:00
Svyatoslav Scherbina
13bbd7af81
runtime: use exitStatus == 1 if main finished with exception
...
Also update the corresponding test.
2017-03-10 14:34:10 +07:00
Svyatoslav Scherbina
051f42667c
build/tests: support KonanTest.expectedExitStatus
2017-03-10 14:34:10 +07:00
Ilya Matveev
853a40b230
tests: Mute tests with '::class'
2017-03-09 18:01:19 +03:00
Ilya Matveev
fd64de3f23
backend: Fix lowering of default arguments to local functions
...
Fix:
external_codegen_blackbox_functions_localFunctions/kt3978.kt
external_codegen_blackbox_closures/kt5589.kt
2017-03-09 18:01:19 +03:00
Ilya Matveev
60bcc50340
tests: Mute tests with java collection inheritance
2017-03-09 18:01:19 +03:00
Ilya Matveev
e815aa3f73
tests: Support box(): String? in the test launcher
2017-03-09 18:01:19 +03:00
Ilya Matveev
7b7840f8b4
stdlib: Add AbstractIterator class
...
Fix:
external_codegen_blackbox_regressions/objectCaptureOuterConstructorProperty.kt
2017-03-09 17:25:32 +03:00
Igor Chevdar
f4e29562f9
Cut references to local delegated properties.
...
References to local delegated properties are cut - it is forbidden to call
get() or set() on them.
2017-03-09 16:41:58 +03:00
Vasily Levchenko
2389ddcd1a
compiler: 1.1-20170308.180727-439
2017-03-09 10:04:10 +03:00
Igor Chevdar
9145a95e7e
Merge branch 'callable_reference_for_property'
2017-03-07 21:32:46 +03:00
Igor Chevdar
1a5434bada
Forbade caching of KProperty for local delegated properties.
2017-03-07 20:23:33 +03:00
Igor Chevdar
bc0772eab1
Test on link stage.
2017-03-07 20:02:20 +03:00
Igor Chevdar
6bb32743fd
Removed usage of Kotlin.BuiltIns
2017-03-07 18:35:36 +03:00
Igor Chevdar
532cab42a7
bug fix: Callable references as arguments of callable references.
2017-03-07 18:35:36 +03:00
Igor Chevdar
1a8ce13067
Added tests
2017-03-07 18:35:36 +03:00
Igor Chevdar
776f4c4b7f
Implemented callable references for properties
2017-03-07 18:35:36 +03:00
Vasily Levchenko
484fba5b55
misc: unused file
2017-03-07 18:05:08 +03:00
Vasily Levchenko
34e17e82f4
STDLIB: bunch of ranges functions
2017-03-07 17:33:15 +03:00
Vasily Levchenko
680cde41fa
compiler: 1.1-20170307.124125-437
2017-03-07 17:32:25 +03:00
Nikolay Igotti
342a166ab8
Add explicit phase dependency mechanism. ( #313 )
2017-03-07 16:07:51 +03:00
Vasily Levchenko
996d6d8f74
IR: vararg lowering processing delegation constructor call
2017-03-07 15:37:07 +03:00
Igor Chevdar
48b0754a7b
Handle specially only constructors of the class being lowered.
2017-03-07 14:27:29 +03:00
Nikolay Igotti
d49c497e02
Fix lowering of default arguments to local ctors. ( #309 )
2017-03-07 13:44:28 +03:00
Nikolay Igotti
526c0dc924
Speed up large file compilation. ( #308 )
2017-03-07 13:40:25 +03:00
Vasily Levchenko
9845b589ea
compiler: 1.1-20170306.122049-432
2017-03-07 09:44:42 +03:00
Alexander Udalov
1d0ec313b5
Add Package.packageFqName serializer extension
2017-03-07 09:44:42 +03:00
Igor Chevdar
c76c214763
Extracted some common code.
...
Sometimes it would be nice to know context during IR rewriting, this is when
IrElementTransformerVoidWithContext comes in handy.
2017-03-06 21:08:56 +03:00
Igor Chevdar
8c1c9f5660
Turned off lowering of outer class for inner class constructors.
...
Constructors of inner classes already have access to their outer class
through its dispatch receiver parameter.
2017-03-06 21:08:56 +03:00
Nikolay Igotti
361e94fd1a
Simplify default imports.
2017-03-06 15:22:44 +03:00
Igor Chevdar
2e81c045a7
Merge fix
2017-03-06 15:07:29 +03:00
Vasily Levchenko
104a983282
gradle: do not lose debugging options from java exec
2017-03-06 14:47:03 +03:00
Igor Chevdar
bcd346d0f4
Bridge descriptor's visibility is equal to the visibility of its owner.
2017-03-06 14:35:39 +03:00
Igor Chevdar
810bcca552
Review fixes
2017-03-06 14:35:39 +03:00
Igor Chevdar
0ff306ad3a
Rewrote enum lowering to support usage from other modules.
...
- Split up enum lowering into two stages: descriptors creation and IR creation.
- Added link stage test.
- Enum.valueOf() uses binary search instead of linear.
2017-03-06 14:35:39 +03:00
Igor Chevdar
bf65a78a93
Made bridge methods public.
...
Added test on usage of a bridge method from different module.
Bridge methods must be public in order use them from other modules.
2017-03-06 14:35:39 +03:00
Igor Chevdar
7d433be68b
Added lowering of property callable reference for provideDelegate.
...
PropertyDelegationLowering is now lowering all callable references to properties.
2017-03-06 14:34:23 +03:00
Svyatoslav Scherbina
2d3879ea0d
backend/tests: add more tailrec tests
2017-03-06 17:09:05 +07:00
Svyatoslav Scherbina
fe55e1f0e2
backend: fix tailRecursion/defaultArgsOverridden.kt
2017-03-06 17:09:05 +07:00
Svyatoslav Scherbina
ac757e1285
backend: workaround boxing of IMPLICIT_INTEGER_COERCION result
2017-03-06 15:19:27 +07:00
vvlevchenko
a1f2b572a8
gradle: KonanTest extends from JavaExec making tests debugging rather easy task ( #299 )
2017-03-04 00:32:27 +03:00
Igor Chevdar
cf32f89697
Eliminated all hacks related to IR bugs with delegated descriptors.
2017-03-03 17:00:15 +03:00
Svyatoslav Scherbina
8427612d59
backend/tests: add trivial tests for tailrec
2017-03-03 20:45:39 +07:00
Svyatoslav Scherbina
9a28d648a8
backend: implement tailrec lowering
2017-03-03 20:45:39 +07:00
Svyatoslav Scherbina
701cbebf5c
backend: implement tail recursion calls collector
2017-03-03 20:45:39 +07:00
Svyatoslav Scherbina
62d5f69ef0
backend: implement copying IR tree with variable declarations
2017-03-03 20:45:39 +07:00