Fire fail on autocomplete code

sorry, i just cant get it to fail, tried dozens of times, it always inserts the CC consistently: http://share.dwarfland.com/hQeY

the only thing i can think of doing is to add some diagnostic messages that will print to the console to maybe narrow down what part NREs. hasTabPositions looks fairly trivial and NRE proof :(.

What’s your website account name? i’ll push a new build rot your Personal Downloads folder later today with that logging.

i’ve uploaded a build for you. this build ALSO works around the NRE, but i’d still like to see the console logs so we can narrow down the actual cause.

Because the actual NRE is gone now, you will see whether the error was hit bny whether cursor is placed correctly inside a multi-part method she you complete it, or at the end, e.g.:

c.insert(|, atIndex: /*~!newElement!~*/)

vs.

c.insert(, atIndex: )|

you should see log entries such as

2016-09-10 13:05:59.736 Fire[25567:1176628] mzFilename /Users/mh/Test Projects/ConsoleApplication28/Program.swift
2016-09-10 13:05:59.736 Fire[25567:1176628] offset 86
2016-09-10 13:05:59.736 Fire[25567:1176628] endOffset 91
2016-09-10 13:05:59.736 Fire[25567:1176628] .originalData RemObjects.Oxygene.Model.CCListItemCollection
2016-09-10 13:05:59.737 Fire[25567:1176628] selectedItem insert(, atIndex:) Ce {func insert(atIndex newElement: T, _ index: Int64)}
2016-09-10 13:05:59.737 Fire[25567:1176628] char: '10'
2016-09-10 13:05:59.737 Fire[25567:1176628] activeManagedProject.FinishComplete returned RemObjects.Oxygene.Code.Compiler.CompletionResult
2016-09-10 13:05:59.737 Fire[25567:1176628] CodeCompletionResultWrapper ctor: RemObjects.Oxygene.Code.Compiler.CompletionResult
2016-09-10 13:05:59.737 Fire[25567:1176628] hasTabPositions, _completionResult RemObjects.Oxygene.Code.Compiler.CompletionResult

where id expect it probably says activeManagedProject.FinishComplete returned (null) when your error hits.

My personal account name is tosites.

How I can download this personal version?

https://secure.remobjects.com/portal/downloads/personal.

Any update on this?

There is not any release to be downloaded at personal page.
I had to format and reinstall everything on my Mac, then sorry for the time it took.
On purpose, at macOS Sierra I can’t run xip files, then please use dmg instead.

bugs://76002 got closed with status fixed.

Yes. Solved. Bug closed. Thanks a lot.

1 Like

bugs://i63936 was closed as fixed.

Logged as bugs://i63936.