refactor coroutine lowering and tasks

This commit is contained in:
Jaden Weiss
2020-01-03 00:23:37 -05:00
committed by Ayke
parent 2521cacb51
commit 6a50f25a48
40 changed files with 1830 additions and 1515 deletions
+9
View File
@@ -46,3 +46,12 @@ func getPosition(val llvm.Value) token.Position {
return token.Position{}
}
}
// ErrMissingIntrinsic is an error indicating that a required intrinsic was not found in the module.
type ErrMissingIntrinsic struct {
Name string
}
func (err ErrMissingIntrinsic) Error() string {
return "missing intrinsic: " + err.Name
}