-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't rely on isProvisional to determine whether atoms computed (#16489)
Fixes #16486
- Loading branch information
Showing
3 changed files
with
27 additions
and
5 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// defs_1.scala | ||
import java.time.* | ||
|
||
type Temporal = | ||
java.sql.Date | | ||
LocalDateTime | LocalDate | LocalTime | | ||
Instant | ||
|
||
given Conversion[String | Temporal, JsValue] = ??? | ||
|
||
sealed trait JsValue | ||
case class JsObject(value: Map[String, JsValue]) | ||
|
||
object Json{ | ||
def obj(fields: Tuple2[String, JsValue | Option[JsValue]]* ): JsObject = ??? | ||
} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// usage_2.scala | ||
class Bug { | ||
def searchJson = Json.obj("foo" -> "bar") | ||
} |