Skip to content

Commit

Permalink
Capture check concurrent.duration
Browse files Browse the repository at this point in the history
  • Loading branch information
Linyxus committed Nov 14, 2023
1 parent f28daf4 commit 79b08ac
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/pos-special/stdlib/concurrent/duration/Deadline.scala
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

package scala.concurrent.duration

import language.experimental.captureChecking

/**
* This class stores a deadline, as obtained via `Deadline.now` or the
* duration DSL:
Expand Down
2 changes: 2 additions & 0 deletions tests/pos-special/stdlib/concurrent/duration/Duration.scala
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ package scala.concurrent.duration
import java.lang.{ Double => JDouble }
import scala.collection.StringParsers

import language.experimental.captureChecking

object Duration {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

package scala.concurrent.duration

import language.experimental.captureChecking

import DurationConversions._

// Would be nice to limit the visibility of this trait a little bit,
Expand Down
2 changes: 2 additions & 0 deletions tests/pos-special/stdlib/concurrent/duration/package.scala
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ package scala.concurrent

import scala.language.implicitConversions

import language.experimental.captureChecking

package object duration {
/**
* This object can be used as closing token if you prefer dot-less style but do not want
Expand Down

0 comments on commit 79b08ac

Please sign in to comment.