You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
immediate boolcheck() {
int x = 3;
class_info ci = reflexpr(x); // ci is empty// const char* str = ci.name();
compiler.print(ci.name());
However, the call to print() seems to eat any diagnostics resulting from invalid use of an empty reflection. Uncommenting the line above yields the correct error.
This may be related to the fact that print() is a void function.
The text was updated successfully, but these errors were encountered:
This function should yield an error when called.
However, the call to
print()
seems to eat any diagnostics resulting from invalid use of an empty reflection. Uncommenting the line above yields the correct error.This may be related to the fact that
print()
is avoid
function.The text was updated successfully, but these errors were encountered: