Closed
Description
Created by: knupel
When the function void size(int arg, int arg)
is used with two arguments in Class
that's cause a syntax problem when this function is call directly in void setup()
Processing 4.0.2b / OS Monterey
Code to reproduce:
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) {
}
}