Commit Graph

236 Commits

Author SHA1 Message Date
KonstantinAnisimov dcb0a074da Merge branch 'master' into inline 2017-02-06 17:21:28 +07:00
Konstantin Anisimov 3359758ceb Merge 2017-02-06 16:53:26 +07:00
Konstantin Anisimov 35807b4f40 Merge 2017-02-06 16:45:14 +07:00
Konstantin Anisimov 99ef87ec78 TESTS: new tests added 2017-02-06 16:45:14 +07:00
Konstantin Anisimov 6a1745e8ac TESTS: new inline tests added 2017-02-06 16:44:53 +07:00
Svyatoslav Scherbina 56bab774f1 backend/tests: add interop0 2017-02-06 11:58:10 +07:00
Igor Chevdar 2f9bde4482 Local objects (#215)
* bug fix

* bug fix with nested inner classes

* - fixed FixMeInner
- support of inner classes in local classes
- support of object expressions in initializers

* comments

* merged modification

* - review fixes
- tests

* review fixes

* review fixes
2017-02-03 19:41:34 +05:00
Konstantin Anisimov 90b12e3041 Merge 2017-02-03 19:26:31 +07:00
Konstantin Anisimov 697140de49 TESTS 2017-02-03 18:09:33 +07:00
Konstantin Anisimov 70b35f9aa7 TESTS: new tests added 2017-02-03 18:05:56 +07:00
Konstantin Anisimov 97411bca6e TESTS: new test added 2017-02-03 18:05:40 +07:00
Konstantin Anisimov 02e604cc71 TESTS: new tests added 2017-02-03 18:05:40 +07:00
Konstantin Anisimov 9e3fe3a41c TESTS: new inline tests added 2017-02-03 18:05:38 +07:00
Konstantin Anisimov bdbb5d7b94 Merge branch 'proper-inline' into inline
# Conflicts:
#	backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/KonanLower.kt
#	backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/llvm/IrToBitcode.kt
#	backend.native/tests/build.gradle
#	backend.native/tests/codegen/inline/inline5.kt
#	gradle.properties
2017-02-03 11:18:47 +07:00
Konstantin Anisimov 6b99f38521 Merge branch 'master' of https://github.com/JetBrains/kotlin-native 2017-02-03 10:37:20 +07:00
Svyatoslav Scherbina f6cab824ab backend/tests: enable boxing15 2017-02-02 19:22:22 +07:00
Konstantin Anisimov 263e658b1b Merge 2017-02-02 17:13:19 +07:00
Konstantin Anisimov 4be3649daf Merge 2017-02-02 17:11:57 +07:00
Konstantin Anisimov e0a3c4ad4c TESTS 2017-02-02 16:34:26 +07:00
Vasily Levchenko e7159d364f TEST: with no parameters to vararg 2017-02-02 07:49:35 +03:00
Nikolay Igotti 6192dc254a Fix way how function table is built. Allows to extend Exception class. (#210) 2017-02-01 15:43:28 +03:00
Igor Chevdar 4911f78200 Inner classes (#207)
* Inner classes lowering

* cmd line fix

* tests

* * reverted adding parameter to inner classes constructors
* variables are identified by their descriptors

* review fixes
2017-01-31 15:36:21 +05:00
Konstantin Anisimov e10d9b62e2 TESTS: new tests added 2017-01-31 16:01:46 +07:00
Igor Chevdar 01cb9d4cac Implementation of super methods calling (#203)
* implemented super call

* tests

* removed redundant code
2017-01-27 16:38:48 +05:00
Svyatoslav Scherbina cf946a7676 backend/tests: update and disable 'defaults4' 2017-01-26 13:53:40 +07:00
Ilya Matveev 7285c57cd8 backend/tests: Generate external test tasks in config stage
We generate tasks for external tests group during Gradle's configuration
phase instead of using separate task (regenerate_external_tests)
2017-01-25 17:24:36 +03:00
Ilya Matveev f096e272b3 backend.native/tests: Add JSON output to run-external task 2017-01-25 17:24:36 +03:00
Ilya Matveev 6e0c2fface backend.native/tests: Add clean task to remove test output directory 2017-01-25 17:24:36 +03:00
Ilya Matveev c04233aebb buildSrc: Save test results to JSON 2017-01-25 17:24:36 +03:00
Ilya Matveev a4c4b1e7af buildSrc: Use SourceSet to define test output directory. 2017-01-25 17:24:36 +03:00
Vasily Levchenko 99a962df42 TEST:EXTERNAL: run task added 2017-01-25 17:24:36 +03:00
Vasily Levchenko 6729d1d824 TEST: external generate run task for externals 2017-01-25 17:24:36 +03:00
Vasily Levchenko 7cbaa7d6ca EXTERNAL:TEST: regenerated 2017-01-25 17:24:36 +03:00
Vasily Levchenko a59de510cd TEST: more fixes in template 2017-01-25 17:24:36 +03:00
Vasily Levchenko b9b44ebeb4 test: fixed task daily declaration 2017-01-25 17:24:36 +03:00
Vasily Levchenko 822816da3f tests: external gradle script generation emproved 2017-01-25 17:24:36 +03:00
Nikolay Igotti c6a4ec2ff4 Add enumeration support. (#128)
* Add enumeration support.

* Enum classes lowering.

* merge fix

* merge fix

* used arrayOf from irModule

* changed lowering quant from body to file

* refactoring

* review fixes

* lowering for GET_OBJECT in enums

* enabled tests

* added tests

* moved tests to separate dir

* renamed test files

* moved phase up

* review fixes

* reformat
2017-01-25 14:39:36 +05:00
Konstantin Anisimov 88d830e5b7 TESTS: new test added 2017-01-24 15:43:36 +07:00
Vasily Levchenko 00aba8a08d TEST: enable defaults{4,5,6} 2017-01-23 17:40:24 +03:00
ilmat192 ef14464bed Merge pull request #191 from JetBrains/binaryOp-fix 2017-01-23 14:08:12 +03:00
Svyatoslav Scherbina 16ca882298 backend/tests: add cast_null and unchecked_cast3 2017-01-23 17:18:43 +07:00
Svyatoslav Scherbina 97ce2227d5 backend/tests: add boxing{14,15}
the latter is disabled.
2017-01-23 16:56:44 +07:00
Ilya Matveev 7f911b8085 backend/tests: Ignore binaryOp/compareWithBoxed... tests 2017-01-23 10:33:06 +03:00
Svyatoslav Scherbina f36bb78a7f backend/tests: enable fields2 because it was fixed 2017-01-23 14:27:26 +07:00
Svyatoslav Scherbina 1f7738e052 backend: fix minor bug in evaluateWhen
Also add the corresponding test 'when9'.
2017-01-20 20:02:50 +07:00
Svyatoslav Scherbina 0958d32605 backend: improve typealias support:
* handle TypeAliasConstructorDescriptor in codegen
* ignore ignore typealias declaration in codegen

Also add test 'typealias1'.
2017-01-20 20:02:50 +07:00
Svyatoslav Scherbina 65444ec690 backend: improve type operators support:
* add initial support for casts with generics;
* optimize out the casts to subtypes

Also add tests unchecked_cast{1,2}, the latter is disabled.
2017-01-20 20:02:50 +07:00
Ilya Matveev 48122c8a03 backend/tests: Add test result reporting to run_external task.
+ regenerate external tests.
2017-01-20 14:24:35 +03:00
Ilya Matveev d18219c383 backend/tests: Fixes in regenerate_external_tests task 2017-01-20 14:24:35 +03:00
Ilya Matveev 8ec33334a4 backend/tests: Enable some tests in the binaryOp group 2017-01-20 14:24:26 +03:00