漓江丽火
漓江丽火
``` scala val brokenOrNot: Boolean = readFromJavaParameterOrReadFromTypesafeConf.getOrElse(true Or false) trait Dummy object Dummy { implicit def dymmyImplicit: Dummy = macro macroFold(brokenOrNot) { broke the macro and compile failed // if...
``` scala val breakTheCompilerOrNot: Boolean = readFromJavaParameterOrReadFromTypesafeConf.getOrElse(true Or false) trait Dummy object Dummy { implicit def dymmyImplicit: Dummy = macro macroFold(breakTheCompilerOrNot) { broke the macro and compile failed // if...
@Lasering Yes, it seems that it's the promblem with this issue.
I use the `macwire`(just use `wire[Instance]`) to implement `cats-effect`'s `cats.Resource` in this [demo1](https://github.com/scalax/simple/tree/main/modules/main/simple-wire/web-app), [demo2](https://github.com/scalax/simple/tree/main/modules/main/simple-wire/web-app-scala-style) with the `two step injection` described above. It seems that just the `simple macwire` is already...
It took a little time to reproduct the issue. [code - line13](https://github.com/scalax/simple/blob/ebafd6000de8b9e387207dd329d34fb54fd72cce/modules/main/simple-adt/core/shared/src/test/scala/net/scalax/simple/adt/test/Test%20case%20by%20djx314-1.scala#L13) sbt command ``` sbt ; +adt-coreJS/test; +adt-coreJVM/test; ``` Let `adt-coreJVM` run later to confirm all `JSPlatform` test case...
@adamgfraser Can have a look if helpful.
> @djx314 Sure! I have a feeling that it is somewhere in the version specific ZIO Test SBT logic where we reflectively instantiate the different test files. Already have a...
It seems that ``` scala import scala.Predef.{locally => `Usage of @djx314: Point1`} import scala.Predef.assert `Usage of @djx314: Point1` { // scala 3 code } ``` will succeed in `JVMPlatform` with...
@adamgfraser Sorry for the weak judgment after coding, I rebuilded the test case, here's the new file. [File Path](https://github.com/scalax/simple/blob/45f4e1703fcec0e46aa74d6f4cc1543df75f991c/modules/main/simple-adt/core/shared/src/test/scala-no-js/net/scalax/simple/adt/test/Test%20Cases%20copy%20from%20documention%20in%20README.md.scala) ``` scala object `Test Cases copy from documention in README.md` {...
[Success code](https://github.com/scalax/ce-injection-samples/blob/master/modules/scala213/src/main/scala/ce/injection/samples/mainapp/MainAppInjection.scala) [Issue code](https://github.com/scalax/ce-injection-samples/blob/issue/modules/scala213/src/main/scala/ce/injection/samples/mainapp/MainAppInjection.scala)