[Swift-devel] swift js/editor

Mihael Hategan hategan at mcs.anl.gov
Tue Jun 16 18:47:56 CDT 2015


On Tue, 2015-06-16 at 18:43 -0500, Michael Wilde wrote:
> Very curious.  It underlined a undefined var name with a wavy red line, 
> like a spelling error, and that went away after I scrolled up and 
> declared the var (an int array).
> 
> Maybe it was some kind of default text-tool spelling semantics?

I don't think so.

But it does have context, so if you have a parsing error, it might mark
code that follows as an error.

Mihael

> 
> Weird.
> 
> - Mike
> 
> 
> On 6/16/15 6:40 PM, Mihael Hategan wrote:
> >> It was able to fix an underlined error for an undefined var after I
> >> >defined it.
> > I think that's some form of accident. It currently does not highlight
> > semantic errors, but that's clearly something that it should eventually
> > do. It has an almost vanilla swift grammar in there.
> >
> 





More information about the Swift-devel mailing list