Re: ver 4.0 builtin_chosen_warning ???

new topic     » goto parent     » topic index » view thread      » older message » newer message
ne1uno said...

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.

ne1uno said...

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 blink

ne1uno said...

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.

ne1uno said...

I think that warning should be reworded somehow all the same.

What would you suggest?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu