Skip to content

7.8.84: Compatibility between ScalarValues.Integer and MC-int - #216

Merged
mathias-pfeiffer merged 4 commits into
release/7.8.xfrom
extract-BuiltInTypeRelations
Aug 31, 2026
Merged

7.8.84: Compatibility between ScalarValues.Integer and MC-int#216
mathias-pfeiffer merged 4 commits into
release/7.8.xfrom
extract-BuiltInTypeRelations

Conversation

@MKZaito

@MKZaito MKZaito commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

Changed

  • Neue SysMLBuiltInTypeRelations Klasse um zukünftige Erweiterungen zu vereinfachen
  • 'ScalarValues.Integer' sind nun kompatibel mit 'int'

Der CompatibilityCalculator betrachten die linke und rechte Seite und macht nur weiter wenn beide Primitive- oder Obejekt-Typen sind. Im Verlauf versucht er beide zu boxen. Dabei ist aber  'int' zu 'java.lang.Integer' gescheitert, da es die Symbole nicht gab.

7.8.81: Load java.lang TypeSymbols hat es möglich gemacht 'int' zu 'java.lang.Integer' zu boxen, wodurch jetzt links und rechts 2 Objekt-Typen stehen.

Das erlaubt dem Calculator nun zu fragen, ob beide Objekte Integral Types sind. In dieser PR wird nun 'ScalarValues.Integer' als Integral-Type angesehen.

@mathias-pfeiffer
mathias-pfeiffer marked this pull request as draft August 31, 2026 13:53

@mathias-pfeiffer mathias-pfeiffer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

review

@MKZaito
MKZaito marked this pull request as ready for review August 31, 2026 14:21
@mathias-pfeiffer
mathias-pfeiffer merged commit 0f45829 into release/7.8.x Aug 31, 2026
4 checks passed
@mathias-pfeiffer
mathias-pfeiffer deleted the extract-BuiltInTypeRelations branch August 31, 2026 15:11
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