You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use v5.35;
use Future;
{ use feature 'bareword_filehandles'; open Future, "<", "/dev/null"; }
my$f = Future->done(123);
Fails with:
Name "main::Future" used only once: possible typo at - line 3.
Can't locate object method "done" via package "IO::File" at - line 4.
This indicated that, despite the no feature "bareword::filehandles" that was in scope at toplevel, it nonetheless tried to resolve the ->done method call via that bareword handle that was previously opened earlier, taking precedence over the otherwise-expected resolve via named package.