rubberduck-vba / Rubberduck

Every programmer needs a rubberduck. COM add-in for the VBA & VB6 IDE (VBE).
https://rubberduckvba.com
GNU General Public License v3.0
1.91k stars 299 forks source link

module names/renames should not allow `dir` as a name #2651

Open ThunderFrame opened 7 years ago

ThunderFrame commented 7 years ago

dir is a special stream in the VBA Project binary, and by default, in Excel and Word, the VBE won't let you name a module dir.

Access (and maybe other hosts), abstract the module name from the stream name, so dir is actually permitted, but it's still not a great choice of name (as it conflicts with VBA.FileSystem.Dir)

ThunderFrame commented 7 years ago

linking #2650