-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Enum reset x #771
Enum reset x #771
Conversation
One thing that is strange about this is that |
Evaluation is executed at symbol table resolve. veryl/crates/analyzer/src/symbol_table.rs Line 173 in 68c3593
But it may be unnecessary. I think calling Therefore, the code of // from
if let Some(evaluated) = symbol.found.evaluated.get() {
evaluated
} else {
symbol.found.evaluate()
}
// to
symbol.found.evaluate() |
@nblei @taichi-ishitani |
Sure, I will create a new ticket. |
Yes. |
Allows
EnumMember
s with 'x' or 'z' values to beFactor
s in assignment operations insideif_reset
blocks.Previously,
would result in an error because of the don't care bits in
State::Idle
.