소스 검색

HPCC-20003 forwardscope type is itself

Signed-off-by: Shamser Ahmed <shamser.ahmed@lexisnexis.co.uk>
Shamser Ahmed 7 년 전
부모
커밋
e436f6eadc
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      ecl/hql/hqlir.cpp

+ 2 - 1
ecl/hql/hqlir.cpp

@@ -760,7 +760,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;
 }