diff options
| author | gingerBill <bill@gingerbill.org> | 2019-09-01 20:02:39 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2019-09-01 20:02:39 +0100 |
| commit | 657103c4cff8f63cfa617d8c4371fd29df7b41a2 (patch) | |
| tree | b902045f4e9a88a0e92cac43a19939ac0741fb46 /src/check_expr.cpp | |
| parent | b9d3129fb3a4ba7ef49cea69d086a7f705819f2e (diff) | |
ThreadPool for the parser
Diffstat (limited to 'src/check_expr.cpp')
| -rw-r--r-- | src/check_expr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp index 4c8cd61a7..ca1aed970 100644 --- a/src/check_expr.cpp +++ b/src/check_expr.cpp @@ -159,7 +159,7 @@ isize check_is_assignable_to_using_subtype(Type *src, Type *dst, isize level = 0 src = base_type(src); if (!is_type_struct(src)) { - return false; + return 0; } for_array(i, src->Struct.fields) { |