Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ecl/hqlcpp/hqlwcpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@ void HqlCppWriter::generateType(ITypeInfo * type, const char * name)
case type_filepos:
case type_blob:
prefix = intTypeName(8-1, compiler, false);
next = nullptr; // Do not follow the base type of a type_filepos
Copy link

Copilot AI Mar 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new next = nullptr; applies to both type_filepos and type_blob because of the shared fallthrough, but the comment only references type_filepos. This is misleading and makes it unclear whether blocking base-type traversal for type_blob is intentional. Consider either splitting the cases so only type_filepos sets next = nullptr, or updating the comment to reflect that both type_filepos and type_blob should not follow their base type.

Suggested change
next = nullptr; // Do not follow the base type of a type_filepos
next = nullptr; // Do not follow the base type of type_filepos or type_blob

Copilot uses AI. Check for mistakes.
break;
case type_keyedint:
break;
Expand Down
Loading