member access visits for Namespace Enum and Class symbol_reference
Submitted by Allison (desrt)
Link to original bug (#566952)
Description
visit_member_access in the member access module is a series if if/elseif/elseif statements over the possible types of the expr.symbol_reference field.
this function has 3 unhandled cases. these can be seen by adding the following code to the end of the function:
} else if (expr.symbol_reference is Namespace) {
debug ("it is a namespace");
} else if (expr.symbol_reference is Class) {
debug ("it is a class");
} else if (expr.symbol_reference is Enum) {
debug ("it is a enum");
}
and trying to compile some stuff (like vapigen)
what are we supposed to do about those cases?