Comments influence code (void settings() related I guess) #3326

Closed
clankill3r opened this Issue May 27, 2015 · 5 comments

Comments

Projects
None yet
4 participants
@clankill3r

If I run the code below (in 3.0.9a) I get:

iLLegalStateException: size() cannot be used here, see https://processing.org/reference/size_.html

If I remove the comment the sketch runs fine.
(same thing can be reproduced with a block comment).

// size(600, 600);

void setup() {
  size(600, 600);

}

void draw() {

}
@benfry

This comment has been minimized.

Show comment
Hide comment
@benfry

benfry Jun 9, 2015

Member

Should be sorted out for 3.0 alpha 10.

Member

benfry commented Jun 9, 2015

Should be sorted out for 3.0 alpha 10.

@benfry benfry closed this Jun 9, 2015

@fliperamma

This comment has been minimized.

Show comment
Hide comment
@fliperamma

fliperamma Oct 28, 2015

I'm with the same problem using 3.0.1
I'm using Mac OSX 10.10.5

I'm with the same problem using 3.0.1
I'm using Mac OSX 10.10.5

@clankill3r

This comment has been minimized.

Show comment
Hide comment
@clankill3r

clankill3r Oct 29, 2015

For me the problem is fixed using 3.0.1
OSX 10.11

For me the problem is fixed using 3.0.1
OSX 10.11

@REAS

This comment has been minimized.

Show comment
Hide comment
@REAS

REAS Oct 29, 2015

Member

Fixed for me too using 3.0.1. OS X 10.10.3

Member

REAS commented Oct 29, 2015

Fixed for me too using 3.0.1. OS X 10.10.3

@fliperamma

This comment has been minimized.

Show comment
Hide comment
@fliperamma

fliperamma Oct 29, 2015

I've tried again today (in the same iMac and Processing version) and the problem is gone. I don't know what happened, but seems to be ok after restarting.
Sorry for any inconvenience.

I've tried again today (in the same iMac and Processing version) and the problem is gone. I don't know what happened, but seems to be ok after restarting.
Sorry for any inconvenience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment