min
10/10/2026, 10:46 AMoverride fun generateFunctions(
callableId: CallableId,
context: MemberGenerationContext?,
): List<FirNamedFunctionSymbol>
Returns a function with a signature that conflicts with an existing one?dmitriy.novozhilov
10/10/2026, 2:10 PMmin
10/11/2026, 7:46 AMclass MyClass {
fun f() {}
fun f() {}
}
The compiler detects and generates a diagnostic for this conflict if this code is manually written.
@MyAnnotation
class MyClass {
fun f() {}
}
But if @MyAnnotation triggers my plugin to generate another (conflicting) fun f() method, my plugin should handle (prevent) conflicts by itself?dmitriy.novozhilov
10/11/2026, 1:28 PMmin
10/12/2026, 7:19 AMdmitriy.novozhilov
10/12/2026, 7:21 AMmin
10/12/2026, 7:30 AMdmitriy.novozhilov
10/12/2026, 7:35 AM