shviller

Results 10 issues of shviller

Processes unary minus correctly, produces valid code for string literal method calls and IIFEs, processes label, goto, and the `Stat nodes, escapes invalid identifiers.

What do I do when I have a recursive type or a bunch of mutually recursive types? The most tired example would be an employer having a list of employees...

`--# assume` for fields in global variables shouldn't always be in the top-level scope. Here's an example why. Let's take [binser](https://github.com/bakpakin/binser) and try to type `binser.deserializeN`. The best we can...

A seemingly innocuous ```lua --# assume File.open: method() --> boolean --# assume File.write: method(string, integer?) --> (boolean, string?) --# assume File.close: method() --> boolean ``` leads to ``` .\love.lua.kailua:35:17: 35:21...

`_` is traditionally used to denote an ignored argument/variable, and it frequently makes sense to have more than one: ```lua function(_,_) return 0 end ``` So throwing ``` [Error] This...

syntax
report
papercut

read_here_or_higher doesn't expect its first argument to be an absolute path, which, on Windows, leads to inability to retrieve an assertion's source if it is located in a file other...

Note that this is the least effort sort of thing. It still uses the old versions of all the libraries, patching them as necessary; the most egregious being the change...

Code like this ```lua goto skip local x = 1 ::skip:: print(x) ``` causes both LuaJIT and luajit-lang-toolkit to throw an error: ` jumps into the scope of local 'x'`....

This example https://github.com/josefnpat/LoverNet/wiki/Example%3A-Sending-Latest-Data-To-Client crashes with Love 11 when I launch multiple clients: ``` Error: .\lovernet.lua:240: Error during service stack traceback: [string "boot.lua"]:637: in function [C]: in function 'service' .\lovernet.lua:240: in...

Here's an example: ``` lua require 'winapi' local P = winapi.get_current_process() local current_name = P:get_process_name(true) print("get_current_process:", P:get_pid(), current_name) pids = winapi.get_processes() for _,pid in ipairs(pids) do local P = winapi.process_from_id(pid)...