Skip to content

Fix module of TS verification return types - #838

Merged
mristin merged 1 commit into
mainfrom
mristin/Fix-module-of-ts-verification-return-types
Oct 3, 2026
Merged

mristin merged 1 commit into
mainfrom
mristin/Fix-module-of-ts-verification-return-types

Conversation

@mristin

@mristin mristin commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

The TypeScript verification functions referred to the types module as our_types in their return type, though the module is imported as OurTypes. Hence a function returning an enumeration or a class did not compile, as in ): our_types.Result {. We now use OurTypes.

We test it with negated(result: Result) -> Result in the enum meta-model, used in an invariant.

The TypeScript verification functions referred to the types module as
``our_types`` in their return type, though the module is imported as
``OurTypes``. Hence a function returning an enumeration or a class did
not compile, as in ``): our_types.Result {``. We now use ``OurTypes``.

We test it with ``negated(result: Result) -> Result`` in the ``enum``
meta-model, used in an invariant.
@mristin
mristin merged commit 4337abb into main Oct 3, 2026
5 checks passed
@mristin
mristin deleted the mristin/Fix-module-of-ts-verification-return-types branch October 3, 2026 22:46
@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 37158802754

Coverage remained the same at 90.135%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 50208
Covered Lines: 45255
Line Coverage: 90.14%
Coverage Strength: 2.7 hits per line

💛 - Coveralls

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