await does not force async if callee is blocking

closes #3067
This commit is contained in:
Andrew Kelley
2019-08-29 21:51:31 -04:00
parent 8e93991634
commit 03910925f0
7 changed files with 169 additions and 68 deletions

View File

@@ -56,6 +56,7 @@ const char *err_str(Error err) {
case ErrorNoSpaceLeft: return "no space left";
case ErrorNoCCompilerInstalled: return "no C compiler installed";
case ErrorNotLazy: return "not lazy";
case ErrorIsAsync: return "is async";
}
return "(invalid error)";
}