[TxMt] Re: DIALOG2 x-insert bug on MacOSX 10.7

Allan Odgaard mailinglist at textmate.org
Mon Oct 20 17:29:36 UTC 2014


On 20 Oct 2014, at 18:14, Ronald Wampler wrote:

> Just a guess. This looks odd (
> https://github.com/textmate/dialog/blob/master/Commands/Utilities/TextMate.mm#L7)
> the return type for `insertSnippetWithOptions:` is declared as id, 
> though
> the method returns void. Maybe ARC is calling retain expecting it to 
> return
> an object.  Unfortunately, I cannot test this neither.

That sounds very likely, sicne the crash seemed to be retain sent to a 
bogus object, I’ll fix the signature.


More information about the textmate mailing list