forked from qt-creator/qt-creator
		
	Use Prototype instead of Function.
This commit is contained in:
		
				
					committed by
					
						
						Oswald Buddenhagen
					
				
			
			
				
	
			
			
			
						parent
						
							9aa991d636
						
					
				
				
					commit
					4ff3ee2ff0
				
			@@ -130,7 +130,7 @@ protected:
 | 
			
		||||
        Scope *scope = _doc->scopeAt(line, column);
 | 
			
		||||
 | 
			
		||||
        while (scope) {
 | 
			
		||||
            if (scope->isFunctionScope()) {
 | 
			
		||||
            if (scope->isPrototypeScope()) {
 | 
			
		||||
                Function *fun = scope->owner()->asFunction();
 | 
			
		||||
                if (findMember(fun->members(), ast, line, column))
 | 
			
		||||
                    return false;
 | 
			
		||||
@@ -176,7 +176,7 @@ protected:
 | 
			
		||||
        Scope *scope = _doc->scopeAt(line, column);
 | 
			
		||||
 | 
			
		||||
        while (scope) {
 | 
			
		||||
            if (scope->isFunctionScope()) {
 | 
			
		||||
            if (scope->isPrototypeScope()) {
 | 
			
		||||
                Function *fun = scope->owner()->asFunction();
 | 
			
		||||
                if (findMember(fun->members(), ast, line, column))
 | 
			
		||||
                    return false;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user