• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

eclipse-aascw / aas-core-codegen / 37152077800
90%

Build:
DEFAULT BRANCH: main
Ran 03 Oct 2026 08:42PM UTC
Jobs 3
Files 309
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Oct 2026 08:35PM UTC coverage: 90.104% (+0.02%) from 90.088%
37152077800

push

github

web-flow
Allow lists, sets and tuples in return values (#834)

We now allow the sets at any depth in the return values of
the verification functions and of the methods, and test the lists and
the tuples as return values as well.

Python shares a returned list or set with the caller, while C++ copies
it. Hence, the type inference requires the returned lists and sets to be
fresh: a local set, a ``list(...)`` copy of a list without nested lists
or sets, a call result, or a tuple literal of them. We also check now
that the returned value is assignable to the return type.

.. code-block:: python

    @verification
    def unique_texts_of(texts: Sequence[str]) -> Set[str]:
        result: Set[str] = set()
        for text in texts:
            result.add(text)

        return result

We fix the generators where they missed the return values: the imports
of the sets in C++, Java and Python, the ``List`` and ``Optional``
imports in Java, ``int`` literals in Java tuple literals (``0L``), and
the types module in the TypeScript verification signatures
(``OurTypes``). C++ can now bind a set as the variable of ``any`` and
``all``, and does not refuse the sets in a returned tuple literal.

C++ does not move a local implicitly if it is an item of a returned
tuple, so the aliasing analysis marks the local sets occurring once in
a returned tuple literal to be moved: ``std::make_tuple(std::move(seen),
0)``.

70 of 73 new or added lines in 8 files covered. (95.89%)

1 existing line in 1 file now uncovered.

45236 of 50204 relevant lines covered (90.1%)

2.7 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
95.87
-0.07% aas_core_codegen/cpp/aliasing.py
1
89.95
0.11% aas_core_codegen/intermediate/type_inference.py
1
83.6
0.0% aas_core_codegen/java/transpilation.py

Coverage Regressions

Lines Coverage ∆ File
1
81.43
0.22% aas_core_codegen/cpp/transpilation.py
Jobs
ID Job ID Ran Files Coverage
1 3.10 - 37152077800.1 03 Oct 2026 08:48PM UTC 309
90.1
GitHub Action Run
2 3.11 - 37152077800.2 03 Oct 2026 08:48PM UTC 309
90.1
GitHub Action Run
3 3.12 - 37152077800.3 03 Oct 2026 08:48PM UTC 309
90.1
GitHub Action Run
Source Files on build 37152077800
  • Tree
  • List 309
  • Changed 14
  • Source Changed 0
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • cfcf9983 on github
  • Prev Build on main (#37140921914)
  • Next Build on main (#37155041392)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc