kayler-renslow / arma-intellij-plugin

A plugin for Intellij IDEA that allows for syntactical analysis, code inspections, and other nifty features for the SQF scripting language in Arma 3.
MIT License
41 stars 9 forks source link

breakOut expected String, got 'format' #6

Closed Ragebone closed 8 years ago

kayler-renslow commented 8 years ago

I need more than this....

Ragebone commented 8 years ago

ok, breakout takes a string. breakOut "bla"; is ok breakOut format["bla"]; should, but isn't.

kayler-renslow commented 8 years ago

breakOut format["bla"] is breaking out to a scopeName called "bla". Scopes are defined like: scopeName "bla". I'm not really sure what the point of formatting a scope name for breaking out is since the scopeName will be defined prior. Like so: scopeName "scope"; { breakOut "scope"; }forEach [1,2]; I already know how to fix this issue, but I'm curious to how you are setting scopeName.

kayler-renslow commented 8 years ago

fixed for next release