Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Adding bool to a file is turning all bool types into errors

This is weird but when I add the following code to a file all of the other bool type variables get this error:

  final bool 24aSellerDisclosureDeadline = false;
  final bool 24bDueDiligenceDeadline = false;

If I remove this code all of the other bool types go back to normal. What is going on here and how do I fix this?

Thanks

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

You cannot name an identifier starting with a number. See Important concepts.

Identifiers can start with a letter or underscore (_), followed by any combination of those characters plus digits.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading