diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-07-31 13:22:51 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-07-31 13:23:03 +0100 |
| commit | 410fff7b7ecf6f36a0a46ab1d90553169e3728f1 (patch) | |
| tree | a4b4696c8576ad06dae89804ecc8b9eb83cbd902 /src/test/java | |
| parent | 8dce1c07e695c5fe098ecffc6ee9ff8c34725664 (diff) | |
Add hobgoblin definitions for Patio
Diffstat (limited to 'src/test/java')
| -rw-r--r-- | src/test/java/org/shedlang/compiler/patio/instructions/Patio.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/java/org/shedlang/compiler/patio/instructions/Patio.java b/src/test/java/org/shedlang/compiler/patio/instructions/Patio.java index ec332d94..893ce60e 100644 --- a/src/test/java/org/shedlang/compiler/patio/instructions/Patio.java +++ b/src/test/java/org/shedlang/compiler/patio/instructions/Patio.java @@ -326,14 +326,14 @@ public class Patio { public static PatioInstruction switch_( List<PatioLocalRef> destinations, PatioOperand value, - List<PatioSwitch.Case> cases, + List<PatioSwitchCase> cases, PatioBlock defaultBody ) { return new PatioSwitch(destinations, value, cases, defaultBody, Sources.NULL); } - public static PatioSwitch.Case switchCase(int value, PatioBlock body) { - return new PatioSwitch.Case(value, body, Sources.NULL); + public static PatioSwitchCase switchCase(int value, PatioBlock body) { + return new PatioSwitchCase(value, body, Sources.NULL); } public static PatioInstruction throw_(String exceptionTypeName, PatioOperand value) { |
