Skip to content

Instantly share code, notes, and snippets.

@itsmontoya
Created October 3, 2019 03:04
Show Gist options
  • Save itsmontoya/9f0134a5eb740d3f46699bd5962e581f to your computer and use it in GitHub Desktop.
Save itsmontoya/9f0134a5eb740d3f46699bd5962e581f to your computer and use it in GitHub Desktop.
$ zig run main.zig
/Users/panda/Development/zig/hello_world/main.zig:12:30: error: expected type 'fn() bool', found '(bound fn(SlowAdder) bool)'
var co = NewCoroutine(sa1.add);
^
/Users/panda/Development/zig/hello_world/main.zig:12:26: note: referenced here
var co = NewCoroutine(sa1.add);
^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment