Skip to content

Commit e223097

Browse files
dduanharlanhaskins
authored andcommitted
Fix Example In README (#116)
The label `name` in `addFunction` was never there (in the public history of this repo anyways).
1 parent 9fe7434 commit e223097

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Defining a simple function and moving the cursor to a point where we can begin i
2121
let builder = IRBuilder(module: module)
2222

2323
let main = builder.addFunction(
24-
name: "main",
24+
"main",
2525
type: FunctionType(argTypes: [],
2626
returnType: VoidType())
2727
)

0 commit comments

Comments
 (0)