Skip to content

Color as return type is broken #104

@processing-bot

Description

@processing-bot

Created by: sampottinger

Getting a syntax error here:

public void setup() {
  fill(getColor());
  noStroke();
  size(100, 100);
  ellipseMode(CENTER);
  ellipse(50, 50, 50, 50);
}

color getColor() {
  return #333333;
}

public void draw() {
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions