JS backend: report diagonstic message for unsupported element instead of throw exception.

#KT-6507 Fixed
This commit is contained in:
Zalim Bashorov
2015-03-16 20:42:36 +03:00
parent 593613609f
commit 8d6cbb671a
11 changed files with 66 additions and 6 deletions
@@ -0,0 +1,18 @@
package foo
annotation class fancy
[fancy]
class Foo {
[fancy]
fun baz([fancy] foo : Int) : Int {
return [fancy] 1
}
}
fun test() {
class A {
fun foo(){}
}
}