[Swift-devel] [Bug 151] Swift gives null pointer exception
Michael Wilde
wilde at mcs.anl.gov
Sun Jul 27 11:52:34 CDT 2008
On 7/27/08 11:27 AM, bugzilla-daemon at mcs.anl.gov wrote:
> http://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=151
>
>
> benc at hawaga.org.uk changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> Status|NEW |RESOLVED
> Resolution| |WORKSFORME
>
>
>
>
> ------- Comment #3 from benc at hawaga.org.uk 2008-07-27 11:27 -------
> The attached code compiles and runs without error for me.
>
> Note that there appears to be no variable 'a' referred to in that source file
> at all. If you continue to have problems, please attach code and error messages
> that actually belong together.
I obviously thought I did.
Perhaps Comment #2 explains what happened? If not I will check.
Whats the Swift logic regarding recompilation if it finds an existing
.kml file? Does that logic get fooled in some cases?
- Mike
------- Comment #2 From Michael Wilde 2008-07-22 12:12 [reply] -------
It seems that if I remove the .xml and .kml files from previous
compiles, this
problem goes away, and I get instead the message that I was trying to debug
originally:
Compile error in foreach statement at line 18: Compile error in procedure
invocation at line 19: variable a is not writeable in this scope
(the line numbers here dont match the source code in the URL filed here
because
Ive changed things since then in the course of debugging).
------- Comment #3 From Ben Clifford 2008-07-27 11:27 [reply] -------
The attached code compiles and runs without error for me.
Note that there appears to be no variable 'a' referred to in that source
file
at all. If you continue to have problems, please attach code and error
messages
that actually belong together.
More information about the Swift-devel
mailing list