@Test fun `simple_case_function`() { val compilerPlugin = CompilerPlugin("Arrow Meta", listOf(Dependency("compiler-plugin"))) val arrowAnnotations = Dependency("arrow-annotations:rr-meta-prototype-integration-SNAPSHOT") val arrowCoreData = Dependency("arrow-core-data:0.10.2") assertThis(CompilerTest( config = { addCompilerPlugins(compilerPlugin) + addDependencies(arrowAnnotations, arrowCoreData) }, code = { """ | import arrow.extension | import arrow.core.extensions.* | | object Id | | @extension | fun IdEq() : Eq = Id.eq().run { | Id.eqv(Id) | } | val x = Id == Id | """.source }, assert = { compiles } )) assert(true) } }