Nick
03/08/2022, 3:36 AMbashor
03/08/2022, 11:54 AMNick
03/08/2022, 3:04 PM@JvmName("foo") // <--- Guarantees the generated class has no illegal function name?
fun `<` () {}
bashor
03/08/2022, 4:21 PMbashor
03/08/2022, 4:22 PMNick
03/08/2022, 4:24 PMbashor
03/08/2022, 4:35 PMbashor
03/08/2022, 4:36 PMYoussef Shoaib [MOD]
03/09/2022, 10:38 AM@Suppress("INVALID_CHARACTERS")
@JvmName("foo") // <--- Guarantees the generated class has no illegal function name?
fun `<` () {}
Youssef Shoaib [MOD]
03/09/2022, 10:39 AMNick
03/10/2022, 4:28 AMcompiles if not called
----------------------
class Bar {
@Suppress("INVALID_CHARACTERS")
@JvmName("foo")
infix fun `<` (value: Int) {}
}
Bar() `<` 10 <------ Unresolved reference: `<` (when called within JVM source set)
Youssef Shoaib [MOD]
03/10/2022, 7:27 PMBar
class in a common sourceset?Nick
03/10/2022, 8:13 PM