tagof - compiler crash
#1

Код:
if(TagOf_param1 == (tagof(_:)))
	{
	    if(TagOf_param2 == (tagof(_:)))
		{
            if(param1 == -1)
			{
			  	//Normal Constructor
			}
			else
			{
				//Fill Constructor
			}
		}
		else
		{
		    //Invalid
		}
	}
	if(TagOf_param1 == (tagof(iterator:))) //NO ELSE HERE
	{
	    if(TagOf_param2 == (tagof(iterator:)))
		{
            //Range Constructor
		}
		else
		{
		    //Invalid
		}
	}
	else if(TagOf_param1 == (tagof(list:)))
	{
//Copy Constructor
	}
	else
	{
	    //Invalid
	}
that works but this doesn't

Код:
if(TagOf_param1 == (tagof(_:)))
	{
	    if(TagOf_param2 == (tagof(_:)))
		{
            if(param1 == -1)
			{
			  	//Normal Constructor
			}
			else
			{
				//Fill Constructor
			}
		}
		else
		{
		    //Invalid
		}
	}
	else if(TagOf_param1 == (tagof(iterator:))) //ELSE HERE
	{
	    if(TagOf_param2 == (tagof(iterator:)))
		{
            //Range Constructor
		}
		else
		{
		    //Invalid
		}
	}
	else if(TagOf_param1 == (tagof(list:)))
	{
          //Copy Constructor
	}
	else
	{
	    //Invalid
	}
If I use else...if it doesn't work
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)