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

Rodin keyboard converter bug #77

Open
cfsnook opened this issue Mar 30, 2023 · 1 comment
Open

Rodin keyboard converter bug #77

cfsnook opened this issue Mar 30, 2023 · 1 comment
Labels

Comments

@cfsnook
Copy link
Member

cfsnook commented Mar 30, 2023

When converting plain text to Rodin keyboard symbols using the contextual helper, it puts "invariant" keyword at the end of the preceding line
image
image

@cfsnook cfsnook added the bug label Mar 30, 2023
@tshoang
Copy link
Member

tshoang commented Jun 7, 2023

The issue is that currently, we tried to support both blocks of invariants and individual invariants. When we modified the semantic model (e.g., via quick fix), the context return for invariants is individual invariants, hence the described problem. There are two possible fixes for this.

  1. Drop the support for blocks of invariants
  2. Distinguish between block invariants and individual invariants, i.e., using different EMF types and using the translation to normal invariants during serialisation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants