Skip to content

Commit

Permalink
Fix scala 3 compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
lukestephenson-zendesk committed Dec 1, 2021
1 parent 3531daf commit f16c39c
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions modules/core/monixBio/src/weaver/monixbiocompat/suites.scala
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ abstract class MutableIOSuite
with BaseIOSuite
with Expectations.Helpers {

implicit protected def effectCompat = MonixBIOUnsafeRun
final implicit protected def scheduler: Scheduler = effectCompat.scheduler
def getSuite: EffectSuite[Task] = this
implicit protected def effectCompat = MonixBIOUnsafeRun
final implicit protected def scheduler: Scheduler =
MonixBIOUnsafeRun.scheduler
def getSuite: EffectSuite[Task] = this

override def test(name: TestName): PartiallyAppliedTest =
new SubPartiallyAppliedTest(name)
Expand All @@ -70,7 +71,8 @@ trait FunIOSuite
extends FunSuiteF[Task]
with BaseIOSuite
with Expectations.Helpers {
implicit protected def effectCompat = MonixBIOUnsafeRun
final implicit protected def scheduler: Scheduler = effectCompat.scheduler
def getSuite: EffectSuite[Task] = this
implicit protected def effectCompat = MonixBIOUnsafeRun
final implicit protected def scheduler: Scheduler =
MonixBIOUnsafeRun.scheduler
def getSuite: EffectSuite[Task] = this
}

0 comments on commit f16c39c

Please sign in to comment.