Youssef Shoaib [MOD]
06/30/2025, 9:23 PMFirTypeAttributeExtension
?
I'm trying to implement Scala's Capture Checking as a FIR plugin. FirTypeAttributeExtension
doesn't seem enough on its own though, and likely I have to add some checkers as well, no? Does FirTypeAttributeExtension
affect call resolution as well? I don't actually want that, so I'm hoping it doesn't.Youssef Shoaib [MOD]
06/30/2025, 9:30 PMConeAttribute
and how to use it! Seems like it has isSubtypeOf
, which is likely what I want!bnorm
07/01/2025, 11:54 AM@Positive
and @Negative
annotations which are translated to an attribute which can then restrict function calls. There's a test which shows some examples as well.Youssef Shoaib [MOD]
07/01/2025, 1:45 PMbnorm
07/01/2025, 1:49 PM