diff options
| author | Vexu <git@vexu.eu> | 2020-03-09 18:38:54 +0200 |
|---|---|---|
| committer | Vexu <git@vexu.eu> | 2020-03-09 18:43:09 +0200 |
| commit | 3fd2cd43678d52ca2f737d991edaddfd8b73c2a4 (patch) | |
| tree | 1a69d7283d69664631b6d07a87257355bb71e2eb /src/codegen.cpp | |
| parent | 03c1431f9c0b651f3f1853f11112edc07555883d (diff) | |
| download | zig-3fd2cd43678d52ca2f737d991edaddfd8b73c2a4.tar.gz zig-3fd2cd43678d52ca2f737d991edaddfd8b73c2a4.zip | |
add LemonBoy's test
Diffstat (limited to 'src/codegen.cpp')
| -rw-r--r-- | src/codegen.cpp | 2 |
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: |
