Created
November 21, 2020 19:21
-
-
Save bnorm/2837b9ad3f868e131a2df469084dfbfb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class TemplateIrGenerationExtension( | |
private val messageCollector: MessageCollector, | |
private val string: String, | |
private val file: String | |
) : IrGenerationExtension { | |
override fun generate(moduleFragment: IrModuleFragment, pluginContext: IrPluginContext) { | |
messageCollector.report(CompilerMessageSeverity.INFO, "Argument 'string' = $string") | |
messageCollector.report(CompilerMessageSeverity.INFO, "Argument 'file' = $file") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment