Skip to content

Unexpected match of structures #21

@pamelafox

Description

@pamelafox

This structure:

fill(_);
if ($ifCond) {
    fill(_);
} 
rect(_);

matches true to:

if (mouseIsPressed) {
    fill(255, 0, 0);
}
fill(0, 255, 68);
rect(0, 0, 400, 200);

I replicated on http://khan.github.io/structuredjs/, which I recently pushed, so it should be up to date.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions