SQFvm / runtime

Custom implementation of the Arma script language SQF
GNU Lesser General Public License v3.0
96 stars 30 forks source link

[BUG] configClasses returns properties #182

Closed Coryf88 closed 1 year ago

Coryf88 commented 2 years ago

Describe the bug configClasses also returns non-class config entries.

To Reproduce Steps to reproduce the behavior:

  1. Execute sqfvm.exe --automated --config "class Test { property = 0; class TestSub { subProperty = 0; }; };" --sqf """true"" configClasses (configFile >> ""Test"")"
  2. Notice [INF] Context droped with return value '[property,TestSub]'.

Expected behavior [INF] Context droped with return value '[TestSub]'.

Screenshots N/A

Additional context N/A

X39 commented 1 year ago

Should be fixed in https://github.com/SQFvm/runtime/commit/d0ae93eb2639fb88c7dbe471edd48239d849b1db

Please reopen if still affected with latest development release