mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-08 18:30:42 +00:00
add final type to mgu in LatexCreator
This commit is contained in:
parent
363646f6d2
commit
34a727e0c0
@ -55,8 +55,10 @@ public class LatexCreatorConstraints implements StepVisitor {
|
||||
typeInferer.getMGU().ifPresent(mgu -> {
|
||||
result.add(generateMGU());
|
||||
numberGenerator.push();
|
||||
result.add(generateMGU() + LATEX_NEW_LINE + new LatexCreatorType(typeInferer.getType().get()).getLatex());
|
||||
numberGenerator.push();
|
||||
});
|
||||
// todo return final type, dont forget numberGenerator.push();
|
||||
// todo add some helpful text for the user
|
||||
if (FIRST_PREFIX.equals(prefix)) {
|
||||
result.replaceAll(content -> ALIGN_BEGIN + content + ALIGN_END);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user