Wiki

Ticket #367: src-fix.patch

File src-fix.patch, 0.5 KB (added by hopscc, 11 years ago)
  • CobraParser.cobra

     
    12911291            for modName in declModifierNames, _modifierNamesStack.pop 
    12921292                 
    12931293    def classPass 
    1294         if .curBox.declsInOrder.count 
     1294        if .curBox.declsInOrder.count and not 'partial' in .curBox.isNames 
    12951295            _warning('Encountered "pass" in a class that already has declared members.')  # TODO: change to an error 
    12961296        .grab 
    12971297        .endOfLine