Skip to content

False Positive in Indentation Module #188

Description

@msimmon6

Describe the bug

Mixing multiline statements with switch statements causes a false positive.

Where did the bug occur

Semester: Fall 2022
Instructor & Course: Pedram CMSC132
Project name on Submit Server: Proj 1
Student directory id: n0td

Code segment (if known & relevant):

case BlackjackEngine.BLACKJACK:
    if (getDealerCardsEvaluation() == BlackjackEngine.BLACKJACK
        || getDealerCardsEvaluation() == BlackjackEngine.HAS_21) { //Over-indent

Additional info

Could be intricate to fix but probably doable

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions