Skip to content

Fix and Refactor Roopl Wellformedness checks#1

Merged
Leridon merged 6 commits into
masterfrom
roopl-wellformedness-fixes
Jun 23, 2026
Merged

Fix and Refactor Roopl Wellformedness checks#1
Leridon merged 6 commits into
masterfrom
roopl-wellformedness-fixes

Conversation

@Leridon

@Leridon Leridon commented May 20, 2026

Copy link
Copy Markdown
Owner

This pull request primarily fixes a bug that caused inherited fields to not be handled correctly in the Roopl wellformedness checks. To do so, multiple refactors were necessary, including:

  • Variable types are now stored as a lazy variable. Removed TypedVariable/UntypedVariable distinction.
  • Fields in classes are now lazy variables, with a distinction betwen own fields and inherited fields. The explicit call to inheritFields to merge inherited fields into a class does no longer exist.

It also adds an initial set of automated tests for Roopl.

Leridon added 2 commits May 20, 2026 13:44
- Fields are now inherited via a lazy variable
- Types for variables are a mutable variable now. Removed TypedVariable/UntypedVariable classes
- Added automated tests for four cases
@Leridon Leridon added the bug Something isn't working label May 20, 2026
@Leridon Leridon force-pushed the roopl-wellformedness-fixes branch from f8d95f7 to 4198501 Compare May 20, 2026 12:51
@Leridon Leridon force-pushed the roopl-wellformedness-fixes branch from 959b0fb to cf70d8b Compare May 21, 2026 21:54
@Leridon Leridon marked this pull request as ready for review June 23, 2026 22:08
@Leridon Leridon merged commit bc6d28d into master Jun 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant