bcc icon indicating copy to clipboard operation
bcc copied to clipboard

Basic Linting

Open woollybah opened this issue 5 years ago • 9 comments

It would be nice if we had some basic linting functionality... somewhere. Not necessarily in bcc itself.

Here's an example where such a thing might be useful:

SuperStrict
Framework brl.standardio

Local variable:TMyType New TMyType

Type TMyType
End Type

The assignment operator is missing from the statement. This is obviously a coding error, but is valid in both legacy and NG.

Rather than me spending a stupid amount of time looking for a non-existant bug elsewhere, a warning about my potentially stupid code would be preferred.

Perhaps we need a suite of utilities - like libdparse - that can be applied to such tasks...

woollybah avatar Apr 02 '19 15:04 woollybah