worldbank / stata-linter

MIT License
30 stars 15 forks source link

var < .5 is flagged as var < . #38

Closed kbjarkefur closed 1 year ago

kbjarkefur commented 2 years ago

The file I linted had the line gen tmt = (runiform()<.5) and it gave the error Use "!missing(var)" instead of "var < ." or "var != ." which should not happen.

I think this flag should only be generated if the var < . is followed by white space.