Method Scope Freakyness

I have copied a method from an old project to a new project.

In the old project the scope of the method was: Global

In the new project, there is no Global scope at all. There is however a public scope.

If I call the method from anywhere else in the IDE, Xojo does not recognize it and throws A compiler error “this item does not exist”.

Is this yet another cut-and-paste in the IDE bug?

Have you by any chance copied a function from a Module to a Class? Module functions can be global, methods in classes not.