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

polserver / polserver / 17504812320
61%

Build:
DEFAULT BRANCH: master
Ran 05 Sep 2025 09:34PM UTC
Jobs 1
Files 818
Run time 2min
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

05 Sep 2025 09:23PM UTC coverage: 59.904% (+0.08%) from 59.826%
17504812320

push

github

web-flow
Add Escript support for uninitialized class functions (#808)

* update grammar

* AST nodes and test

* Address self-review comments
- Replace `super` comment with something more explanatory
- Rename `make_user_function`

* add class analysis for uninit functions

* fix ast test after disallowing static uninit funcs

* use std::ranges::find_if

* add tests

* use SUPER constant; add test

* Remove unreachable code leftover from #809

Since #809, the super function is only generated for a class when
registering a parent class, and therefore it will always have a body. A
"No base class defines a constructor" will only occur if super was never
generated, and is handled in the "No function linked through
FunctionResolver" section of semantic analyzer.

* Address review comments
- use std::ranges::move instead of move iterators
- use std::is_same_v<> vs std::is_same<>::value
- use switch vs chained ternary conditionals

* update escript guide, create tests that are in escript guide

* add core-changes

* Error on uninit and defined constructor

* Move methods' FunctionLink construction to builder

This allows the error message for the uninit function to have a "See
Also" that point to the defined function.

* Move error checks for uninit and defined functions

These semantic checks should be in the ... SemanticAnalyzer.

* fix typo in core-changes

154 of 168 new or added lines in 7 files covered. (91.67%)

1 existing line in 1 file now uncovered.

43860 of 73217 relevant lines covered (59.9%)

427918.94 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
93.33
10.72% pol-core/bscript/compiler/ast/ClassDeclaration.cpp
1
99.26
0.09% pol-core/bscript/compiler/astbuilder/UserFunctionBuilder.cpp
3
81.25
pol-core/bscript/compiler/model/UserFunctionType.h
9
91.86
-0.33% pol-core/bscript/compiler/analyzer/SemanticAnalyzer.cpp

Uncovered Existing Lines

Lines Coverage ∆ File
1
91.86
-0.33% pol-core/bscript/compiler/analyzer/SemanticAnalyzer.cpp
Jobs
ID Job ID Ran Files Coverage
1 17504812320.1 05 Sep 2025 09:34PM UTC 818
59.9
GitHub Action Run
Source Files on build 17504812320
  • Tree
  • List 818
  • Changed 13
  • Source Changed 0
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ddc1b5d2 on github
  • Prev Build on master (#17504327174)
  • Next Build on master (#17516257898)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc