Files
processing4/java/test/resources/sizeclass.pde
A Pottinger 30cee886da Closes #317: Preproc behavior when size defined in user class.
Though this was already fixed, just adding a test to confirm that it stays fixed. Need to respect calls to user-definined size methods including those defined in user-made classes.
2022-01-29 15:19:01 -08:00

22 lines
339 B
Plaintext

// Thanks StanLepunK: https://github.com/processing/processing4/issues/317
Truc truc = new Truc();
void setup() {
size(200,200);
truc.size(1,1); // problem >>> error à "."
// func();
}
void draw() {
truc.size(1,1); // no problem
}
void func() {
truc.size(1,1); // no problem
}
class Truc {
void size(int x, int y) {
}
}