فهرست منبع

Merge pull request #11358 from shamser/issue20003

HPCC-20003 forwardscope type is itself

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Gavin Halliday 7 سال پیش
والد
کامیت
4a848be600
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      ecl/hql/hqlir.cpp

+ 2 - 1
ecl/hql/hqlir.cpp

@@ -761,7 +761,8 @@ inline type_t getRequiredTypeCode(node_operator op)
     case no_libraryscope:
     case no_type:
     case no_libraryscopeinstance:
-        return type_alias; // type is an alias if itself.
+    case no_forwardscope:
+        return type_alias; // type is an alias of itself.
     }
     return type_none;
 }