Merge luaML.love

This commit is contained in:
Kartik K. Agaram 2023-12-07 01:28:07 -08:00
commit ffb9add28f
2 changed files with 7 additions and 2 deletions

View File

@ -9,9 +9,9 @@ Initializing settings:
- `default_map` absent/present
- when connecting to a new app
- run with an untested version. Error message pops up and waits for a key. The app attempts to continue, and doesn't receive the key.
- run with an untested version of LÖVE. Error message pops up and waits for a key. The app attempts to continue, and doesn't receive the key.
- run with a LÖVE v12 release candidate. No errors; it is a supported version. All tests pass.
- create a couple of spuriously failing tests. Run with an untested version. Error message includes message about untested version.
- create a couple of spuriously failing tests. Run with an untested version of LÖVE. Error message includes message about untested version.
Code loading:
* run love with directory; text editor runs

View File

@ -294,3 +294,8 @@ for handler_name in pairs(love.handlers) do
end
end
end
function warning_message()
assert(type(Current_app) == 'table')
return Current_app.message
end