Advertisement

Unable to call base function on class outside of namespace

Started by February 18, 2016 01:45 PM
1 comment, last by WitchLord 8 years, 9 months 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.
		}
	}
}

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

Advertisement

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