OpenBullet2 icon indicating copy to clipboard operation
OpenBullet2 copied to clipboard

[Bug]: Make clear errors on which variable names we cant use

Open mastercho opened this issue 1 year ago • 0 comments

This issue respects the following points:

  • [X] This is a bug, not a question or a configuration issue; Please visit our forum first to troubleshoot with volunteers, before creating a report. The links can be found here.
  • [X] This issue is not already reported on GitHub (I've searched it).
  • [X] I'm using an up to date version of OpenBullet2. We generally do not support previous older versions. If possible, please update to the latest version before opening an issue.
  • [X] I agree to follow OpenBullet's Code of Conduct.
  • [X] This report addresses only a single issue; If you encounter multiple issues, kindly create separate reports for each one.

Description of the bug

Currently we cant use some vars like ref or class as they are reserved C# keywords, so we need make clear in errors on which variable names we cant use

Reproduction steps

just try to set ref as var and use it

What is the current bug behavior?

.

What is the expected correct behavior?

.

Version of the client

v0.3.1.2637

Type of client

Web client

Environment

- OS:Win
- Virtualization: None
- Browser: Chrome

OpenBullet2 logs

No response

Client / Browser logs

No response

Relevant screenshots or videos

No response

Relevant LoliCode if needed

No response

Additional information

No response

mastercho avatar Sep 06 '24 00:09 mastercho