Unable to call base function on class outside of namespace

Started by
1 comment, last by WitchLord 8 years, 1 month ago
It doesn't seem to be possible to call the base function on a class outside of a namespace. For example:
class Foo
{
	void Stuff()
	{
		// do stuff
	}
}

namespace Test
{
	class Bar : Foo
	{
		void Stuff() override
		{
			Foo::Stuff(); // ERR: Namespace 'Foo' doesn't exist.
			::Foo::Stuff(); // ERR: Namespace '::Foo' doesn't exist.
		}
	}
}
Advertisement

I'll look into this. Thanks for the bug report.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

I've fixed this bug in revision 2296.

Regards,

Andreas

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement