summaryrefslogtreecommitdiff
path: root/src/passes/StringLowering.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/StringLowering.cpp')
-rw-r--r--src/passes/StringLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/StringLowering.cpp b/src/passes/StringLowering.cpp
index ca0ba773c..f735b9ab2 100644
--- a/src/passes/StringLowering.cpp
+++ b/src/passes/StringLowering.cpp
@@ -283,7 +283,7 @@ struct StringLowering : public StringGathering {
// explained we cannot do that - or before it, which is what we do here).
for (auto& func : module->functions) {
if (func->type.getRecGroup().size() != 1 ||
- !Type(func->type, Nullable).getFeatures().hasStrings()) {
+ !func->type.getFeatures().hasStrings()) {
continue;
}