[Spec tests] Remove spec info from fir tests

This commit is contained in:
anastasiia.spaseeva
2020-05-25 22:02:58 +03:00
parent 5ba9d09278
commit 9d862aaa1d
391 changed files with 0 additions and 3742 deletions
@@ -2,15 +2,6 @@
// !DIAGNOSTICS: -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_VARIABLE -UNUSED_PARAMETER -FINAL_UPPER_BOUND
// SKIP_TXT
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SPEC VERSION: 0.1-296
* MAIN LINK: expressions, try-expression -> paragraph 8 -> sentence 1
* PRIMARY LINKS: expressions, try-expression -> paragraph 9 -> sentence 1
* NUMBER: 1
* DESCRIPTION: The type of the try-expression is the least upper bound of the types of the last expressions of the try body and the last expressions of all the catch blocks
*/
fun throwExceptionA(b: Boolean) = run { if (b) throw ExcA() }
open class A<T>(var data: T) {