diff options
| author | Jimmi Holst Christensen <jimmiholstchristensen@gmail.com> | 2018-04-28 16:27:31 +0200 |
|---|---|---|
| committer | Jimmi Holst Christensen <jimmiholstchristensen@gmail.com> | 2018-04-28 16:27:31 +0200 |
| commit | 2fc34eaa581cc31827e978fbd973bf36d2c647e2 (patch) | |
| tree | d4123e07f42b89ee8fe829066bbca0cdaff514a0 /src/analyze.cpp | |
| parent | 3178528335cb5efbf237cecb9ea9eb3bfa31b21f (diff) | |
| download | zig-2fc34eaa581cc31827e978fbd973bf36d2c647e2.tar.gz zig-2fc34eaa581cc31827e978fbd973bf36d2c647e2.zip | |
Functions with infered error set can now return literals
fixes #852
Diffstat (limited to 'src/analyze.cpp')
| -rw-r--r-- | src/analyze.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/analyze.cpp b/src/analyze.cpp index a598d7676e..11715220c7 100644 --- a/src/analyze.cpp +++ b/src/analyze.cpp @@ -6131,4 +6131,3 @@ bool type_can_fail(TypeTableEntry *type_entry) { bool fn_type_can_fail(FnTypeId *fn_type_id) { return type_can_fail(fn_type_id->return_type) || fn_type_id->cc == CallingConventionAsync; } - |
