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

wurstscript / WurstScript / 62 / 1
62%
master: 62%

Build:
DEFAULT BRANCH: master
Ran 21 May 2021 02:33PM UTC
Files 420
Run time 49s
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

21 May 2021 02:33PM UTC coverage: 63.328% (+0.5%) from 62.833%
62.1

push

circleci

[WIP] Lua typecasting (#997)

* first attempt

uses typeEnsure functions to ensure correct types at all times
the intermediate language is not the same as in JASS, so compiletime execution is not correct

* restore fromIndex and toIndex functions for intermediate language

The typeEnsure functions have no effect on compiletime, so lua compiletime should now be exactly like JASS compiletime.
index type is ensured with intEnsure
this effectively makes generics integers like in JASS
casting type parameters to/from int still uses lua functions, even though they are already integers, so it would not be necessary

* restore fromIndex and toIndex for overrides

* remove unnecessary typeEnsure function

* reactivate jass testing

* replace non numeric zero compiletime results with null/nil in lua

compiletime results are initially evaluated to 0 for objects that are null
in lua the 0 must be replaced with nil

* fix type filtering

use entry type for arrays and member type for member variables

* fix failing tests

use regular expressions to only check the functions of interest and ignore other parts of the output

* Add parentheses around tables in lua

Indexing table literals only works with parentheses around them.

Co-authored-by: Frotty <Frotty@users.noreply.github.com>

16732 of 26421 relevant lines covered (63.33%)

0.63 hits per line

Source Files on job 62.1
  • Tree
  • List 0
  • Changed 21
  • Source Changed 7
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 62
  • 31d097f2 on github
  • Prev Job for on master (#58.1)
  • Next Job for on master (#64.1)
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