Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

%%和 . 的优先级应当高于右手操作符规则 #462

Closed
PythonYunfei opened this issue Jan 2, 2024 · 0 comments
Closed

%%和 . 的优先级应当高于右手操作符规则 #462

PythonYunfei opened this issue Jan 2, 2024 · 0 comments

Comments

@PythonYunfei
Copy link

PythonYunfei commented Jan 2, 2024

但应用右手操作符规则时,右手操作符如:=将具有最高优先级。然而实际情况中,.%%是个例外。
虽然以上在文档中没有说得特别明确:
image
image
但目前来看,以下代码解释器是正常的,而插件报错:

c:={cc:7,id:'cc'}
cc2:=c.%a:=c.id%
OutputDebug(cc2)

3Q4)VWL_ Y6 F{UF6OFCI(5

@PythonYunfei PythonYunfei changed the title .和%%的优先级应当高于右手操作符 .和%%的优先级应当高于右手操作符规则 Jan 2, 2024
@PythonYunfei PythonYunfei changed the title .和%%的优先级应当高于右手操作符规则 %%和 . 的优先级应当高于右手操作符规则 Jan 3, 2024
@thqby thqby closed this as completed in 016d0bb Jan 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant