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.
using chunmapData
I think this is a Type Inference about error.
Type Inference
Sorry, this is not a bug. just a confusing compiler error report.
Expected: "Unknown type Feature for local declaration"
Feature
Login or Signup to reply.
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 statementStrangely, if adding
using chunmapDataall thing is ok.I think this is a
Type Inferenceabout error.go4 Mon 5 Dec 2011
Sorry, this is not a bug. just a confusing compiler error report.
Expected: "Unknown type
Featurefor local declaration"