titan-lang / titan

The Titan programming language
http://titan-lang.org
MIT License
406 stars 13 forks source link

tests: module local variables in application #234

Closed hishamhm closed 6 years ago

hishamhm commented 6 years ago

I opened a PR with a failing test case instead of filing a bug. :)

mascarenhas commented 6 years ago

If the module was linked statically its initialization function was not being called, fixed! Had already fixed this in the 'no-global-state' PR, also.

mascarenhas commented 6 years ago

I approved this, but as I said, this is subsumed by another PR.

codecov-io commented 6 years ago

Codecov Report

Merging #234 into master will increase coverage by 0.03%. The diff coverage is 100%.

Impacted Files Coverage Δ
titan-compiler/coder.lua 96.46% <100%> (+0.07%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 80b7288...4c721f1. Read the comment docs.