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,4 @@
WARNING: compiler/testData/cli/js/diagnosticForUnhandledElements.kt: (8, 21) Parameter 'foo' is never used
ERROR: compiler/testData/cli/js/diagnosticForUnhandledElements.kt: (9, 16) Cannot translate (not supported yet): '[fancy] 1'
ERROR: compiler/testData/cli/js/diagnosticForUnhandledElements.kt: (15, 5) Cannot translate (not supported yet): 'class A {...'
COMPILATION_ERROR