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

Merge Freeze into Develop #960

Merged
merged 16 commits into from
Jan 15, 2025
Merged

Merge Freeze into Develop #960

merged 16 commits into from
Jan 15, 2025

Conversation

azoitl
Copy link
Contributor

@azoitl azoitl commented Jan 15, 2025

No description provided.

mx990 and others added 16 commits January 9, 2025 13:49
There was a problem where operand types were not converted to the
required unsigned or bit types before determining the common result
type. Also fix equivalent unsigned type for INT.
Also add exceptions for semantically relevant literal conversions.
Log exceptions in evaluator process to aid in debugging problems related
to evaluator execution.
Catch all exceptions when closing shared resources in evaluator to
ensure proper termination regardless of exceptions in any of the shared
resources.
The call to prepare the evaluator needs to be before resolving the
instance event.
Relax the validation of CASE statements to allow comparable types for
CASE labels, instead of requiring that the type of the label is
assignable to the type of the selector expression.
The current resource in the ST editor also contains the ST algorithms
and methods of the copied internal FB type and their parameters. These
were subsequently included in the object descriptions of the resource,
which caused stale or ambiguous references compared to the actual ST
algorithms and methods in the ST source. This filters the ST algorithms
and methods of the internal FB type, including their children, when
computing the descriptions to avoid the problem.
don't create manifest on resolve if it is missing
start resolve on creation of project manifest
There was an NPE when attempting to refactor an FB type with empty
contents. This can happen for SIFBs or CFBs, which do not have an ST
source, as well as SFBs and BFBs with no algorithms or methods. This
fixes the problem by not attempting to refactor such types with Xtext
in the first place.
The package name was also updated for simple renames in the ST
refactoring participant. This could cause a mismatch between the package
name seen by Xtext and the actual package name, in cases where the
package name did not conform to the folder structure. This fixes the
problem by not updating the package name for simple renames.
The imports were previously only updated for types associated with an
Xtext resource. This adds the missing updates for non-Xtext resources,
such as structs, attribtes, adapters, subapps, and systems.
Copy link

Test Results

   111 files  ±0     111 suites  ±0   48s ⏱️ -1s
29 174 tests +6  29 174 ✅ +6  0 💤 ±0  0 ❌ ±0 
29 175 runs  +6  29 175 ✅ +6  0 💤 ±0  0 ❌ ±0 

Results for commit 3cfcd56. ± Comparison against base commit 4549ccf.

@azoitl azoitl merged commit 71d87e5 into develop Jan 15, 2025
6 checks passed
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.

4 participants