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

\mathrm{} shouldn't throw exn #212

Merged
merged 7 commits into from
Oct 19, 2019
Merged

\mathrm{} shouldn't throw exn #212

merged 7 commits into from
Oct 19, 2019

Conversation

rstm-sf
Copy link
Contributor

@rstm-sf rstm-sf commented Oct 13, 2019

Change state "\mathrm{} should throw exn" to "\mathrm{} shouldn't throw exn"

"\mathrm{} shouldn't throw exn"
@ForNeVeR ForNeVeR self-requested a review October 14, 2019 16:41
@rstm-sf

This comment has been minimized.

@rstm-sf

This comment has been minimized.

@rstm-sf

This comment has been minimized.

@ForNeVeR

This comment has been minimized.

@ForNeVeR

This comment has been minimized.

@rstm-sf
Copy link
Contributor Author

rstm-sf commented Oct 17, 2019

Well, maybe it should be so.

@@ -33,7 +33,6 @@ public TexRenderer GetRenderer(TexStyle style, double scale, string systemTextFo
public void Add(TexFormula formula, SourceSpan source = null)
{
Debug.Assert(formula != null);
Debug.Assert(formula.RootAtom != null);
Copy link
Owner

Choose a reason for hiding this comment

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

I don't think you need to remove these assertions now (when the new code produces non-nullable items for these formulas), do you?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok

@ForNeVeR
Copy link
Owner

Aside from my last comment, everything else looks good.

Copy link
Owner

@ForNeVeR ForNeVeR left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution!

@ForNeVeR ForNeVeR merged commit 351e010 into ForNeVeR:master Oct 19, 2019
@rstm-sf rstm-sf deleted the refactor/mathrm_shouldnot_throw_exn branch January 11, 2020 13:30
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.

None yet

2 participants