fun foo() { val a: String val b = try { a = "aaa" "aaa" } catch (e: Exception) { } a.charAt(1) b.charAt(1) }