aboutsummaryrefslogtreecommitdiff
path: root/src/check_type.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2019-10-13 16:06:41 +0100
committergingerBill <bill@gingerbill.org>2019-10-13 16:06:41 +0100
commitb53fe14c22fe2e7063979353735ca0aa5b0e2605 (patch)
tree790d180ba6bf657b9d62a288f7c0b0cd7ad2b5ce /src/check_type.cpp
parent45683703ea6cc0578796c891b50bad1c75ecc687 (diff)
Change `error` to `syntax_error` in parser
Diffstat (limited to 'src/check_type.cpp')
-rw-r--r--src/check_type.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/check_type.cpp b/src/check_type.cpp
index f366c42d1..da6419877 100644
--- a/src/check_type.cpp
+++ b/src/check_type.cpp
@@ -1975,7 +1975,6 @@ Type *handle_single_distributed_type_parameter(Array<Type *> const &types, bool
default:
return types[0];
}
- return t_u64;
} else if (types.count >= 2) {
if (types[0] == t_f32 && types[1] == t_f32) {
if (offset) *offset = 2;