Skip to content

Commit d434d78

Browse files
committed
[GR-70705] Fix typos in Bytecode DSL UserGuide.md.
PullRequest: graal/22355
2 parents de86002 + 1c03deb commit d434d78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

truffle/docs/bytecode_dsl/UserGuide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ The example below defines two custom operations, `OperationA` and `OperationB`:
207207
public abstract class MyBytecodeRootNode extends RootNode implements BytecodeRootNode {
208208
...
209209
@Operation
210-
public static final OperationA {
210+
public static final class OperationA {
211211
@Specialization
212212
public static int doInt(VirtualFrame frame, int num) { ... }
213213

@@ -217,7 +217,7 @@ public abstract class MyBytecodeRootNode extends RootNode implements BytecodeRoo
217217
}
218218

219219
@OperationProxy.Proxyable
220-
public abstract OperationB extends Node {
220+
public abstract class OperationB extends Node {
221221
@Specialization
222222
public static void doInts(int a, int b) { ... }
223223

0 commit comments

Comments
 (0)