Re: ver 4.0 builtin_chosen_warning ???
- Posted by DerekParnell (admin) Sep 05, 2008
- 990 views
in regex the find used is re:find and is unqualified and there is no warning. not sure why. yet the re:find is properly chosem.
Because that's how its supposed to work. If a local routine exists with the same name as a built-in, the local routine takes priority. If you need to use the built-in instead, inside the local scope, use the 'eu:' namespace.
in a test program that has include std/regex.e and uses find if you qualify the find, eu:find or re:find there is no warning.
Which is what namesace qualification is suposed to do
if your program has include std/map.e and has no use of compare, again no warning.
Yes, the warning only occurs if you use the symbol.
I think that warning should be reworded somehow all the same.
What would you suggest?