Drop "Reflection types not loaded" diagnostic

Reflection types are now considered to be built-in, so their absence means the
runtime is broken and the compiler can't work at all; this condition probably
should be handled on another level for all built-in types
This commit is contained in:
Alexander Udalov
2015-05-25 12:07:01 +03:00
parent 45c28abfee
commit 51684b3fe1
6 changed files with 4 additions and 22 deletions
@@ -1,4 +1,4 @@
// !DIAGNOSTICS: -UNUSED_EXPRESSION, -REFLECTION_TYPES_NOT_LOADED
// !DIAGNOSTICS: -UNUSED_EXPRESSION
class UsefulClass(val param: Int = 2) {
fun get(instance: Any, property: PropertyMetadata) : Int = 1