`boolean record = true;` causes a syntax error even thought it is valid Java
還沒有人認領這個 Issue。
評估
這個 Issue 還沒有評估資料。
描述
Most appropriate sub-area of Processing 4?
PDE
Processing version
main
Operating system
macOS/Windows/Linux?
Bug description
Adding boolean record = true; anywhere to the sketch causes the preprocess to emit an Error even though it is valid Java.
This is what I know so far:
recordis a java keyword- changing it to
boolean record1 = true;suppresses the error - I tried changing the antlr version back to what it was defined in the Ant build system but that didn't help either
Steps to reproduce this
-
Add
boolean record = true;to a sketch -
See the preprocessor be unhappy
snippet
boolean record = true;
void setup() {
}
void draw() {
}
Additional context
No response
Would you like to work on the issue?
Yes, I’d like to help with this
- 主要語言
- Java
- 星號
- 497
- 分支
- 183
- 平均合併
- 4 小時 39 分鐘
- 30 天內合併 PR
- 3
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
processing/processing4 的其他 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 64/100
processing/processing4#1554 · 1 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 76/100
processing/processing4#1515 · 1 個 reaction ·
-
bug
難度 3/5 1-2 天 新手友好度 55/100
processing/processing4#1573 ·
-
startup error 未關閉
難度 4/5 3-5 天 新手友好度 25/100
processing/processing4#1569 · 7 則留言 ·
-
Binaries under bin directory lack executable permissions for the snap and .deb packages for Linux 未關閉bug
processing/processing4#1567 · 3 則留言 · 1 個 reaction · 已指派 1 人 ·
查看 processing/processing4 的全部 Issue
相似的 Issue
-
documentation
難度 2/5 1-3 小時 新手友好度 65/100
inu-appcenter/memorIN-backend#288 ·
-
難度 2/5 1-3 小時 新手友好度 65/100
-
frontend maui-pilot pilot-ask question
難度 2/5 1-3 小時 新手友好度 75/100
-
難度 2/5 1-3 小時 新手友好度 75/100
-
area/plugin
難度 2/5 1-3 小時 新手友好度 75/100
kestra-io/plugin-kestra#190 ·