mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-07-26 06:38:42 +00:00
refactor coroutine lowering and tasks
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user