Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color as return type is broken #104

Closed
sampottinger opened this issue Jun 29, 2020 · 1 comment · Fixed by #105
Closed

Color as return type is broken #104

sampottinger opened this issue Jun 29, 2020 · 1 comment · Fixed by #105
Assignees

Comments

@sampottinger
Copy link
Collaborator

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() {
}
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant