We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3040a0 commit 6a64c75Copy full SHA for 6a64c75
src/util/std_types.h
@@ -1087,8 +1087,8 @@ class incomplete_array_typet:public type_with_subtypet
1087
{
1088
}
1089
1090
- explicit incomplete_array_typet(const typet &_subtype):
1091
- type_with_subtypet(ID_array, _subtype)
+ explicit incomplete_array_typet(const typet &_subtype)
+ : type_with_subtypet(ID_incomplete_array, _subtype)
1092
1093
1094
};
@@ -1099,7 +1099,7 @@ class incomplete_array_typet:public type_with_subtypet
1099
template <>
1100
inline bool can_cast_type<incomplete_array_typet>(const typet &type)
1101
1102
- return type.id() == ID_array;
+ return type.id() == ID_incomplete_array;
1103
1104
1105
/// \brief Cast a typet to an \ref incomplete_array_typet
0 commit comments