-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
Take the test case for example:
Line 83 in 19a9e08
| def test_unused_production(self): |
Below are three cases with changed unused production rule:
case 1 -- No Warning
@pg.production("main : VALUE")
def main(p):
return p[0]
@pg.production("unused : main")
def unused(p):
passcase 2 -- Show Warning
@pg.production("main : VALUE")
def main(p):
return p[0]
@pg.production("unused : OTHER main")
def unused(p):
passcase 3 -- No Warning
@pg.production("main : VALUE")
def main(p):
return p[0]
@pg.production("unused : VALUE main")
def unused(p):
passNow I'm quite puzzled about the meaning of this warning.
Metadata
Metadata
Assignees
Labels
No labels