# Unexpected evaluation behavior for typed elements

**URL:** <https://forum.sensmetry.com/t/unexpected-evaluation-behavior-for-typed-elements/288>\
**Category:** Bug Reports\
**Tags:** automator, sysmlv2\
**Created:** [November 8, 2025, 8:35pm UTC](https://forum.sensmetry.com/t/unexpected-evaluation-behavior-for-typed-elements/288 "2025-11-08T20:35:27Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Daumantas](https://yyz2.discourse-cdn.com/flex008/user_avatar/forum.sensmetry.com/daumantas/32/19_2.png) [@Daumantas](https://forum.sensmetry.com/u/Daumantas)\
**Post date:** [November 11, 2025, 8:56am UTC](https://forum.sensmetry.com/t/unexpected-evaluation-behavior-for-typed-elements/288/5 "2025-11-11T08:56:13Z")

</div>

> I will see if we can figure something out.

Changed the search to consider owning types if a match was not found in current scope. Will be in either 0.8.2 release or the next after.

> Otherwise, `assert constraint { a.d == 15.0 }` evaluating `d` not in the scope of `a` looks like a separate bug.

Already fixed for the next release, for [Mass rollup example from Introduction to the SysML v2 Language - #15 by Daumantas](https://forum.sensmetry.com/t/mass-rollup-example-from-introduction-to-the-sysml-v2-language/256/15)

---

_[View the full topic](https://forum.sensmetry.com/t/unexpected-evaluation-behavior-for-typed-elements/288)._
