Title: Using "module" as a variable name gives "Syntax Error - Missing name or type" · Issue #1501 · processing/processing4 · GitHub
Open Graph Title: Using "module" as a variable name gives "Syntax Error - Missing name or type" · Issue #1501 · processing/processing4
X Title: Using "module" as a variable name gives "Syntax Error - Missing name or type" · Issue #1501 · processing/processing4
Description: 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 Synta...
Open Graph Description: 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....
X Description: 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....
Opengraph URL: https://github.com/processing/processing4/issues/1501
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Using \"module\" as a variable name gives \"Syntax Error - Missing name or type\"","articleBody":"### Most appropriate sub-area of Processing 4?\n\nPDE\n\n### Processing version\n\n4.5.2\n\n### Operating system\n\nmacOS\n\n### Bug description\n\n\n\n`Test.pde`:\n```processing\nclass Module {\n}\n\nclass Foo {\n Module module;\n}\n```\nThis ran with Processing 4.0b. \n\nWith Processing 4.5.2 it produces `Syntax Error - Missing name or type near Module module;?`\n\nWorkarounds:\n* Change `module` to a different identifier, e.g. `the_module`\n* Put the code in `Test.java` instead of `Test.pde`\n\n\n### Steps to reproduce this\n\n1. Create a file `Test.pde` with contents\n\n```processing\nclass Module {\n}\n\nclass Foo {\n Module module;\n}\n```\n\n2. Open with Processing 4.5.2\n\n3. Observe an error in the IDE or when trying to \"Run\" the sketch.\n\n\n### snippet\n\n```processing\nclass Module {\n}\n\nclass Foo {\n Module module;\n}\n```\n\n\n### Additional context\n\n_No response_\n\n### Would you like to work on the issue?\n\nNo, I’m just reporting the issue","author":{"url":"https://github.com/psanan","@type":"Person","name":"psanan"},"datePublished":"2026-04-12T13:13:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1501/processing4/issues/1501"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d476c6af-5896-6bb1-4a9e-26c8847636f0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EC9C:246CE:3466527:44109C8:6A5CEBAF |
| html-safe-nonce | d9b19b310eab8fa575f43222f5a650992775f431a1af94e7a00e4c5249996992 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzlDOjI0NkNFOjM0NjY1Mjc6NDQxMDlDODo2QTVDRUJBRiIsInZpc2l0b3JfaWQiOiI4MTkzNTMxMTc5OTA1NjQxMzkxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3edf9ce7faead7982152cb2412707f560c79f2bd65a6100646cda01d9a7bad12 |
| hovercard-subject-tag | issue:4248145642 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/processing/processing4/1501/issue_layout |
| twitter:image | https://opengraph.githubassets.com/34cce14becd22c62e40b2e3d33eb6d0b89249cbfc04c32d1d0278a5d62a092fc/processing/processing4/issues/1501 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/34cce14becd22c62e40b2e3d33eb6d0b89249cbfc04c32d1d0278a5d62a092fc/processing/processing4/issues/1501 |
| og:image:alt | 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.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | psanan |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/processing/processing4 git https://github.com/processing/processing4.git |
| octolytics-dimension-user_id | 1617169 |
| octolytics-dimension-user_login | processing |
| octolytics-dimension-repository_id | 844382769 |
| octolytics-dimension-repository_nwo | processing/processing4 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 844382769 |
| octolytics-dimension-repository_network_root_nwo | processing/processing4 |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width