Skip to content
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

Add edit mode to test panel #232

Merged
merged 6 commits into from
Feb 26, 2024
Merged

Conversation

netalondon
Copy link
Collaborator

No description provided.

dispatch.current({
action: "updateChip",
payload: { invalid: true, error },
});
return;
}
setStatus(`HDL code: No syntax errors`);
invalid ||= false;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this do anything?

If invalid is false, it updates to false
If invalid is true, it does not update

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, you're right! Not sure what I was thinking.

return false;
}

test = ChipTest.from(Ok(tst)).with(chip).reset();
test.setFileSystem(fs);
dispatch.current({ action: "updateTestStep" });
invalid ||= false;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noop

@DavidSouther DavidSouther merged commit b7b9a9f into nand2tetris:main Feb 26, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants