-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable data implied do #3
base: main
Are you sure you want to change the base?
Conversation
std::string loop_var_name = to_lower(x.m_var); | ||
// auto sym = current_scope->resolve_symbol(array); | ||
// if (sym != nullptr) throw SemanticError("Data statement loop variable cannot be have same name as other variable.", x.base.base.loc); | ||
auto start = AST::down_cast<AST::Num_t>(x.m_start); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMHO, we should use full type name instead of auto
. I prefer verbosity over ease of typing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't really care about ease of typing, it's much more easy to read I think. But sure, I'll change it once I actually open a PR.
No description provided.