Adam Spofford
08/14/2019, 10:09 PMOptional<T>
as T?
?raulraja
08/14/2019, 10:17 PMraulraja
08/14/2019, 10:18 PMraulraja
08/14/2019, 10:24 PMraulraja
08/14/2019, 10:24 PMraulraja
08/14/2019, 10:25 PMAdam Spofford
08/14/2019, 10:28 PMdmitriy.novozhilov
08/15/2019, 7:53 AMcompiler/ir
modules in kotlin
projectdmitriy.novozhilov
08/15/2019, 7:54 AMYou can provide your own type checker implementationNote that this way is not a part of public compiler API, so it may be dangerous
dmitriy.novozhilov
08/15/2019, 7:55 AMidea/resources/META-INF/extensions/compiler.xml
raulraja
08/15/2019, 8:05 PMraulraja
08/15/2019, 8:08 PMregisterKindAwareTypeChecker(): ExtensionPhase.StorageComponentContainer
that can be mixed in in any plugin that needs the kind aware type checker. An example of Arrow-meta creating a high level feature from a small set of interceptions. These blocks are not constrained to a single phase like in this case, you can return multiple interceptions from code parsing all the way down to resolution, codegen, etc.raulraja
08/15/2019, 8:09 PMdmitriy.novozhilov
08/15/2019, 8:41 PMyes, replacing the typechecker is dangerousit's dangerous because of that API can be changed in any release
raulraja
08/15/2019, 10:32 PMAdam Spofford
08/16/2019, 11:55 AMAdam Spofford
08/16/2019, 11:56 AMAdam Spofford
08/16/2019, 11:57 AMdmitriy.novozhilov
08/16/2019, 11:59 AMAdam Spofford
08/16/2019, 4:07 PMraulraja
08/16/2019, 7:32 PMraulraja
08/16/2019, 7:34 PM