ast: Return an error when parsing an empty module
The documentation is pretty clear that a module must at least contain a package, so it is safe to say that an empty file isn't valid. Previously the helper would just return a nil module and nil error, it will now return an error. Fixes: #2054 Signed-off-by: Patrick East <east.patrick@gmail.com>
P
Patrick East committed
55b474a4fe19232f202a81fb34c7a4f33f06b834
Parent: deb5118