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

wurstscript / WurstScript / 62
62%

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

pending completion
62

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

Jobs
ID Job ID Ran Files Coverage
1 62.1 21 May 2021 02:33PM UTC 0
63.33
Source Files on build 62
Detailed source file information is not available for this build.
  • Back to Repo
  • CircleCI Build #62
  • 31d097f2 on github
  • Prev Build on master (#58)
  • Next Build on master (#64)
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