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

mpeterv / Penlight
81%
master: 84%

Build:
Build:
LAST BUILD BRANCH: add-import-into-checks
DEFAULT BRANCH: master
Repo Added 10 Sep 2015 08:57AM UTC
Files 38
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

LAST BUILD ON BRANCH memoize
branch: memoize
CHANGE BRANCH
x
Reset
  • memoize
  • add-import-into-checks
  • class-overwrite-error
  • coverage
  • fix-fnmatch
  • fix-lapp-callback
  • fix-normpath
  • fix-path-tmpname
  • fix-sip
  • lex-string-lineno
  • master
  • pretty-number
  • pretty-read-function
  • quote-string-brackets
  • read-error-fname-prefix
  • sip-docs
  • utils-quote-arg
  • writefile-bin-mode

pending completion
35

push

travis-ci

mpeterv
Return a function from utils.memoize instead of a table

First, documentation says it should return a function; second,
attempting to serialize memoization table may result in an error:
on Lua 5.3 ipairs() uses __index metamethod which may not work
if the function doesn't take numbers as arguments.

Fixes pl.pretty.write(_G) crashing on Lua 5.3.

6 of 6 new or added lines in 1 file covered. (100.0%)

4411 of 5458 relevant lines covered (80.82%)

751.98 hits per line

Relevant lines Covered
Build:
Build:
5458 RELEVANT LINES 4411 COVERED LINES
751.98 HITS PER LINE
Source Files on memoize
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
35 memoize Return a function from utils.memoize instead of a table First, documentation says it should return a function; second, attempting to serialize memoization table may result in an error: on Lua 5.3 ipairs() uses __index metamethod which may not wor... push 18 Jul 2016 12:05PM UTC mpeterv travis-ci pending completion  
See All Builds (30)
  • Repo on GitHub
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