mirror of
https://github.com/processing/processing4.git
synced 2026-01-27 02:11:08 +01:00
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.
22 lines
339 B
Plaintext
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) {
|
|
}
|
|
}
|