Svyatoslav Scherbina
a85d30215d
backend/tests: add interop3 (uses callback)
2017-03-01 16:14:17 +07:00
Svyatoslav Scherbina
9e716291c1
Interop, backend: add partial support for callbacks
...
Support callbacks that don't take or return structs by value.
2017-03-01 16:14:17 +07:00
Svyatoslav Scherbina
3411ce2e8c
Interop, backend: refactor and reorder interop lowering
...
* Do not break type compatibility when lowering interop intrinsics.
* Place interop lowering before callable reference lowering.
* Add other improvements to interop implementation.
2017-03-01 16:14:17 +07:00
Svyatoslav Scherbina
6c627a0b55
backend: add trivial utils for reporting compile errors
2017-03-01 16:14:17 +07:00
Nikolay Igotti
720c060531
Add step() infix functions.
2017-02-28 19:22:44 +03:00
vvlevchenko
9cfff757c8
IR: enum prevent loosing IrExpressionBody on lowering of enums ( #279 )
...
* IR: enum prevent loosing IrExpressionBody on lowering of enums
* IR: refactoring
* IR: refactoring : return it back
* IR: remove 'it'
2017-02-28 18:41:27 +03:00
Nikolay Igotti
3cd4f76397
Add startsWith()/endsWith(). ( #281 )
2017-02-28 17:03:51 +03:00
Svyatoslav Scherbina
093671f549
backend: rework builtIns configuration
...
* Do not create separate builtIns for analyzer.
* Make builtInsModule synthetic but depending on stdlib.
2017-02-28 17:44:22 +07:00
Svyatoslav Scherbina
5584ef2541
stdlib: add more declarations from builtIns
2017-02-28 17:44:22 +07:00
Igor Chevdar
108f2132b6
Fixed CallableReferenceLowering to visit all nodes.
2017-02-28 12:09:53 +03:00
Ilya Matveev
00e5e070d7
tests: Add a test for list sorting
2017-02-28 10:59:25 +03:00
Ilya Matveev
73adb8524d
stdlib: Add mutableList.sort function
2017-02-28 10:59:25 +03:00
Ilya Matveev
135025ff8d
stdlib: Add Comparator((T, T) -> Int) function
2017-02-28 10:59:25 +03:00
Ilya Matveev
1cbfa73f67
tests: Use 'prefix' property in run_external task
2017-02-28 10:49:30 +03:00
Ilya Matveev
1a45667261
backend: Lower callable references in properties
2017-02-28 10:49:30 +03:00
Nikolay Igotti
a51c900271
Add equals() to basic value types. ( #271 )
2017-02-27 12:01:04 +03:00
Ilya Matveev
9b24f10f07
backend: Move string concatenation after inlining
2017-02-27 11:52:38 +03:00
Ilya Matveev
912fa136f1
backend: Set returnType for local constructors
2017-02-27 11:47:39 +03:00
Svyatoslav Scherbina
925b1fb0b6
backend/tests: add tests for == with Nothing/Nothing?
2017-02-27 13:16:12 +07:00
Svyatoslav Scherbina
b9371332d6
backend: fix == when both parts conform to Nothing? type
2017-02-27 13:16:12 +07:00
Svyatoslav Scherbina
0688f8e758
backend: fix callable references to constructors
2017-02-27 13:16:12 +07:00
Vasily Levchenko
f3dadfa61c
kotlin-compiler: 1.1-20170224.164531-429
2017-02-27 06:48:31 +03:00
Vasily Levchenko
c1b1f7b45c
IR: vararg: process not only functions, but fiel and property initializer
2017-02-23 11:22:02 +03:00
Ilya Matveev
b6d5dd5a68
backend/tests: Disable coroutines tests
2017-02-22 17:50:06 +03:00
Vasily Levchenko
4673de2fdd
IR: don't stop lowering expression on first vararg expression, please lower deeper
2017-02-22 16:42:28 +03:00
Ilya Matveev
489723721f
frontend: Stop compilation in case of frontend error
2017-02-22 16:16:57 +03:00
Igor Chevdar
951964e057
Merge pull request #263 from JetBrains/class_delegation
...
Class delegation
2017-02-22 18:14:56 +05:00
Igor Chevdar
ee484a40ff
Swapped order of operations in method table building (was a bug)
2017-02-22 15:37:10 +03:00
Igor Chevdar
9165d65560
Added tests on interface calls of enum class
2017-02-22 15:37:10 +03:00
Igor Chevdar
e664473f74
Added contributed descriptors to synthesized enum <default> class
2017-02-22 15:37:10 +03:00
Igor Chevdar
2bfd6cf19f
Review fixes
2017-02-22 15:37:10 +03:00
Igor Chevdar
174b8ee601
Added parameter 'prefix' to task 'run' in order to run subset of tests
2017-02-22 15:37:10 +03:00
Igor Chevdar
3ac3b1e7ca
Review fixes
2017-02-22 15:37:10 +03:00
Igor Chevdar
041fff596d
Removed debug output
2017-02-22 15:35:48 +03:00
Igor Chevdar
eced9bb11a
refactoring
2017-02-22 15:35:48 +03:00
Igor Chevdar
bb82109ded
Added tests on class delegation
2017-02-22 15:35:48 +03:00
Igor Chevdar
dd350f88c8
Implemented class delegation lowering
2017-02-22 15:35:48 +03:00
Igor Chevdar
0609cef5ac
TODO: hack because of IR bug
2017-02-22 15:35:13 +03:00
Igor Chevdar
4835aa3e74
Added tests on bridges
2017-02-22 15:35:13 +03:00
Igor Chevdar
7fa44ebc0d
Rewrote vtable building taking into account possibility of multiple bridges for a single method
2017-02-22 15:35:13 +03:00
Ilya Matveev
ab0f8cb6cd
buildSrc: Count skipped tests
2017-02-22 14:02:38 +03:00
Ilya Matveev
3f0903fdc8
buildSrc: Report actual and expected test output.
2017-02-22 14:02:38 +03:00
Nikolay Igotti
234e704226
Fix string.h/String.h mismatch.
2017-02-22 13:53:41 +03:00
Vasily Levchenko
c5fe02f537
IR: default arguments support 32+ arguments with default values
2017-02-22 13:37:02 +03:00
Alexander Gorshenev
42b644b45e
Introduced HACKING.md to document some tools.
2017-02-22 13:16:00 +04:00
Alexander Gorshenev
9179a962a8
Produce binaries for 10.10 as minimal MacOs version.
2017-02-22 13:16:00 +04:00
Alexander Gorshenev
fa70e566fc
Preserve frame pointer when compiling without optimization.
2017-02-22 13:16:00 +04:00
Svyatoslav Scherbina
90149063c3
backend/tests: add disabled 'vararg_of_literals'
2017-02-22 11:03:37 +07:00
Svyatoslav Scherbina
6b68033972
backend: simplify vararg handling in codegen
2017-02-22 11:03:37 +07:00
Svyatoslav Scherbina
32d9a68925
backend: lower varargs after callable references
...
Because callable reference lowering creates IrVararg.
2017-02-22 11:03:37 +07:00