inlineClosed now determines closedness by the type of the applied global variable
inlineClosed now determines closedness by the type of the applied global
variable

Before, we looked at the body belonging to the global variable,
which is not really needed.

christiaanb/clash-compiler,ggreif/clash-compiler,ggreif/clash-compiler,christiaanb/clash-compiler