Skip to content

Commit

Permalink
Provide a Realm for fail messages
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Feb 19, 2024
1 parent 6f8a4d3 commit a46d428
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/kaleidoscope.scala
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ import java.util.regex.*

import language.experimental.captureChecking

given Realm = realm"kaleidoscope"

extension (inline ctx: StringContext)
transparent inline def r: Any = ${Kaleidoscope.regex('ctx)}
transparent inline def g: Any = ${Kaleidoscope.glob('ctx)}
Expand Down

0 comments on commit a46d428

Please sign in to comment.