mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
721d50c2ef
Note that argument exceptions, for instance, are still thrown as errors. Also fixes a potential uncaught exception with getSize being called for the optional size arg in read, now it just uses the ALL constant instead. File:read no longer opens and closes a file automagically (this was undocumented, and weird) NOTE: the love.filesystem.lines iterator can still error, but this should only happen in case there's something really, really wrong (otherwise love.filesystem.lines would've failed already) NOTE: love.filesystem.lines still errors, because otherwise you'd get weird errors from the for loop (namely 'attempt to call nil value') instead of seeing anything useful