Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

Commit 6e924f5

Browse files
committed
Rename to
1 parent cce28b3 commit 6e924f5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/core/guillotine.Guillotine.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ object Guillotine:
2929
val execType = ConstantType(StringConstant(context.value.get.parts.head.split(" ").nn.head.nn))
3030
val bounds = TypeBounds(execType, execType)
3131

32-
Refinement(TypeRepr.of[Command], "Exec", bounds).asType.runtimeChecked match
32+
Refinement(TypeRepr.of[Command], "Exec", bounds).asType.absolve match
3333
case '[type commandType <: Command; commandType] =>
3434
'{${Sh.Prefix.expand(context, parts)}.asInstanceOf[commandType]}

src/core/guillotine.Sh.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ object Sh:
6565
escaping with '\\' is not allowed immediately before a substitution
6666
""")
6767

68-
state.runtimeChecked match
68+
state.absolve match
6969
case State(Awaiting, false, arguments) =>
7070
State(Unquoted, false, arguments ++ (h :: t))
7171

@@ -82,7 +82,7 @@ object Sh:
8282
state
8383

8484
def parse(state: State, next: Text): State = next.chars.to(List).foldLeft(state): (state, next) =>
85-
(state, next).runtimeChecked match
85+
(state, next).absolve match
8686
case (State(Awaiting, _, arguments), ' ') =>
8787
State(Awaiting, false, arguments)
8888

0 commit comments

Comments
 (0)