// FIR_DIFFERENCE // The diagnostic cannot be implemented with the FIR frontend checker because it requires constant evaluation over FIR. // The diagnostic is implemented as a klib check over IR. // ERROR_POLICY: SEMANTIC val code = """ var s = "hello" + ); """ fun main(): Unit { js("var = 10;") js("""var = 10;""") js("""var = 777; """) js(""" var = 777; """) js("var " + " = " + "10;") val n = 10 js("var = $n;") js(code) }