BalticAmadeus / AblFormatter

Code formatter for Progress OpenEdge (ABL)
Apache License 2.0
6 stars 0 forks source link

Def and Defi throw an error when used as prefixes in a property definition. #135

Closed SSaulenas closed 2 months ago

SSaulenas commented 2 months ago

For example,

class Class final:
    def private property m_Total as integer no-undo
        get.
        set.                                                                     
end class.

image

However, when using def with a temp table or other define statements, it works without issues: image

eglekaz commented 2 months ago

This should be fixed in the upcoming release, since there is already a commit in tree-sitter-abl: https://github.com/usagi-coffee/tree-sitter-abl/commit/ff2f7a3ab836784b83b5d39102b439cdae085e58

eglekaz commented 2 months ago

Solved with tree-sitter-abl version 0.0.29