From 814c97589b79a52881d3c7c00321ae5473199bbe Mon Sep 17 00:00:00 2001 From: Anna Rift Date: Wed, 8 May 2024 13:30:01 -0700 Subject: [PATCH] Remove compiler-generated tuple .size Signed-off-by: Anna Rift --- frontend/lib/resolution/default-functions.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/frontend/lib/resolution/default-functions.cpp b/frontend/lib/resolution/default-functions.cpp index 14d04b78cf72..f1bd0029843d 100644 --- a/frontend/lib/resolution/default-functions.cpp +++ b/frontend/lib/resolution/default-functions.cpp @@ -131,10 +131,6 @@ needCompilerGeneratedMethod(Context* context, const Type* type, } } - if (type->isTupleType() && name == "size") { - return true; - } - // Some basic getter methods for domain properties // // TODO: We can eventually replace these for calls on a domain *value* by