tracker issue : CF-4202401

select a category, or use search below
(searches all categories and all time range)

[ANeff] ER for: THIS.requireSemicolons

| View in Tracker

Status/Resolution/Reason: To Track//PRNeedInfo

Reporter/Name(from Bugbase): Aaron Neff / ()

Created: 05/13/2018

Components: Language

Versions: 2018

Failure Type: Others

Found In Build/Fixed In Build: /

Priority/Frequency: Normal /

Locale/System: / Platforms All

Vote Count: 0

Issue: Some developers *prefer* the semicolon requirement. They want an exception if a semicolon is missing.

Suggestion: THIS.requireSemicolons (or similar) which allows those developers to still get an exception upon missing semicolon



Default=false. Yes?
Comment by Aaron N.
27769 | May 13, 2018 08:11:41 AM GMT
Related thread:
Comment by Aaron N.
27770 | May 13, 2018 08:13:00 AM GMT
Hi Adobe, As Adam noted, this is a compile-time concern, so I suppose a JVM arg would suffice? Main concern is they simply want the old behavior. Thanks!, -Aaron
Comment by Aaron N.
27789 | May 14, 2018 12:11:29 AM GMT
Aaron - We don't really see a need for this. We can always reconsider in case there are more folks asking for this.
Comment by Vamseekrishna N.
27794 | May 14, 2018 12:47:56 PM GMT
Consider this a negative vote. It's not the job of the compiler to enforcing code quality guidelines / whim. It's the job of a linter.
Comment by Adam C.
27805 | May 14, 2018 07:59:22 PM GMT
Hi Vamsee, No problem. I filed it for posterity. Hi Adam, Allowing no semicolons could also be considered catering to the whims. That said, I prefer no semicolons and appreciate the removal of that restriction. Thanks!, -Aaron
Comment by Aaron N.
27806 | May 14, 2018 11:46:26 PM GMT