Ticket #367: src-fix.patch
File src-fix.patch, 0.5 KB (added by hopscc, 11 years ago) |
---|
-
CobraParser.cobra
1291 1291 for modName in declModifierNames, _modifierNamesStack.pop 1292 1292 1293 1293 def classPass 1294 if .curBox.declsInOrder.count 1294 if .curBox.declsInOrder.count and not 'partial' in .curBox.isNames 1295 1295 _warning('Encountered "pass" in a class that already has declared members.') # TODO: change to an error 1296 1296 .grab 1297 1297 .endOfLine