#1721 compiler: namespace error

go4 Sun 4 Dec 2011

A compile error: "ERROR: Expected expression statement":

featureSet := layer.featureSet
featureSet.each |Feature f| { echo(f->id) } // ERROR: Expected expression statement

Strangely, if adding using chunmapData all thing is ok.

I think this is a Type Inference about error.

go4 Mon 5 Dec 2011

Sorry, this is not a bug. just a confusing compiler error report.

Expected: "Unknown type Feature for local declaration"

Login or Signup to reply.