close #279; do not raise compile errors for static functions
Merge branch 'fix/issue279'