I ran into some resolver issues while writing the inotify module. Maybe related to what was on the list a while ago.
The problem seems to be that when using
#if constant(Public.System.Inotify.someconstant)
inside of Public.System.Inotify (using #if constant(someconstant) directly doesnt work in the first place). Compilation works fine but afterworks that constant cannot be accessed in some cases. for instance doing
import Public.System.Inotify; do_something(Public.System.Inotify.someconstant);
does not compile because someconstant cannot be found. I encountered some other problems in various combinations... (with import/without). It still works to index by hand using `[]().
Maybe I should not check for some local constant in a preprocessor directive?
arne
ps. i added the module to gotpike. the constant causing the trouble is IN_MASK_ADD.