Fix initializing variable (lmao)
This commit is contained in:
parent
471b3319a2
commit
b3fc435dd6
1 changed files with 1 additions and 1 deletions
|
|
@ -613,7 +613,7 @@ namespace pslang::ir
|
||||||
{
|
{
|
||||||
auto before = last();
|
auto before = last();
|
||||||
auto result = apply(*node.initializer);
|
auto result = apply(*node.initializer);
|
||||||
if (result == before)
|
if (before == last())
|
||||||
{
|
{
|
||||||
// Evaluating variable initializer didn't produce any nodes
|
// Evaluating variable initializer didn't produce any nodes
|
||||||
// It must have been just a reference to another variable or smth like that
|
// It must have been just a reference to another variable or smth like that
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue