Most appropriate sub-area of Processing 4?
PDE
Processing version
4.5.2
Operating system
macOS
Bug description
Test.pde:
class Module {
}
class Foo {
Module module;
}
This ran with Processing 4.0b.
With Processing 4.5.2 it produces Syntax Error - Missing name or type near Module module;?
Workarounds:
- Change
module to a different identifier, e.g. the_module
- Put the code in
Test.java instead of Test.pde
Steps to reproduce this
- Create a file
Test.pde with contents
class Module {
}
class Foo {
Module module;
}
-
Open with Processing 4.5.2
-
Observe an error in the IDE or when trying to "Run" the sketch.
snippet
class Module {
}
class Foo {
Module module;
}
Additional context
No response
Would you like to work on the issue?
No, I’m just reporting the issue
Most appropriate sub-area of Processing 4?
PDE
Processing version
4.5.2
Operating system
macOS
Bug description
Test.pde:This ran with Processing 4.0b.
With Processing 4.5.2 it produces
Syntax Error - Missing name or type near Module module;?Workarounds:
moduleto a different identifier, e.g.the_moduleTest.javainstead ofTest.pdeSteps to reproduce this
Test.pdewith contentsOpen with Processing 4.5.2
Observe an error in the IDE or when trying to "Run" the sketch.
snippet
Additional context
No response
Would you like to work on the issue?
No, I’m just reporting the issue