LucasDupin AutoCompletion issue. .swc files with capitalized names cause runtime error.
Opened this issue · 2 comments
kristoferjoseph commented
When a swc has a capitalized name as in Foo.swc the parser assumes it is a directory to look into instead of a swc which causes a runtime error.
simongregory commented
Recreated, with the following stack trace:
/Users/simon/Library/Application Support/TextMate/Bundles/ActionScript 3.tmbundle/Support/lib/fm/as3project.rb:288:in `open'
/Users/simon/Library/Application Support/TextMate/Bundles/ActionScript 3.tmbundle/Support/lib/fm/as3project.rb:288:in `entries'
/Users/simon/Library/Application Support/TextMate/Bundles/ActionScript 3.tmbundle/Support/lib/fm/as3project.rb:288:in `dump_swcs'
/Users/simon/Library/Application Support/TextMate/Bundles/ActionScript 3.tmbundle/Support/lib/fm/as3project.rb:277:in `each'
/Users/simon/Library/Application Support/TextMate/Bundles/ActionScript 3.tmbundle/Support/lib/fm/as3project.rb:277:in `dump_swcs'
/Users/simon/Library/Application Support/TextMate/Bundles/ActionScript 3.tmbundle/Support/lib/as3/parsers/class_parser.rb:555:in `create_src_list'
/Users/simon/Library/Application Support/TextMate/Bundles/ActionScript 3.tmbundle/Support/lib/as3/parsers/class_parser.rb:76:in `initialize'
/Users/simon/Library/Application Support/TextMate/Bundles/ActionScript 3.tmbundle/Support/bin/complete:16:in `new'
/Users/simon/Library/Application Support/TextMate/Bundles/ActionScript 3.tmbundle/Support/bin/complete:16
kristoferjoseph commented
There seem to be some other run time errors around swc naming. I will add some tests for the cases I am seeing.