aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.cpp
diff options
context:
space:
mode:
authorVexu <git@vexu.eu>2020-03-09 18:38:54 +0200
committerVexu <git@vexu.eu>2020-03-09 18:43:09 +0200
commit3fd2cd43678d52ca2f737d991edaddfd8b73c2a4 (patch)
tree1a69d7283d69664631b6d07a87257355bb71e2eb /src/codegen.cpp
parent03c1431f9c0b651f3f1853f11112edc07555883d (diff)
downloadzig-3fd2cd43678d52ca2f737d991edaddfd8b73c2a4.tar.gz
zig-3fd2cd43678d52ca2f737d991edaddfd8b73c2a4.zip
add LemonBoy's test
Diffstat (limited to 'src/codegen.cpp')
-rw-r--r--src/codegen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen.cpp b/src/codegen.cpp
index 52ac2e7936..a67b8dc00b 100644
--- a/src/codegen.cpp
+++ b/src/codegen.cpp
@@ -969,7 +969,7 @@ static Buf *panic_msg_buf(PanicMsgId msg_id) {
case PanicMsgIdResumedFnPendingAwait:
return buf_create_from_str("resumed an async function which can only be awaited");
case PanicMsgIdBadNoAsyncCall:
- return buf_create_from_str("async function called with noasync suspended");
+ return buf_create_from_str("async function called in noasync scope suspended");
case PanicMsgIdResumeNotSuspendedFn:
return buf_create_from_str("resumed a non-suspended function");
case PanicMsgIdBadSentinel: