This was noticed when setting up the motus ngless-contrib module.
The following ngless script runs fine, but I'm not sure it should:
ngless "1.0"
import "motus" version "2.1"
In particular because version 2.1 is not an internal module meaning it should require the local keyword.
Trying to use any of the other modules in ngless-contrib without the local keyword triggers the To import local modules, use "local import" error.
My understanding is that since motus also exists as an internal module (version 1.0) the local keyword check is bypassed.
This was noticed when setting up the motus ngless-contrib module.
The following ngless script runs fine, but I'm not sure it should:
In particular because version
2.1is not an internal module meaning it should require thelocalkeyword.Trying to use any of the other modules in
ngless-contribwithout thelocalkeyword triggers theTo import local modules, use "local import"error.My understanding is that since
motusalso exists as an internal module (version1.0) thelocalkeyword check is bypassed.