-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 7.0.0, 6.4.22
-
Fix Version/s: 7.0.0
-
Component/s: Code Generator
-
Labels:None
-
Pull Request URL:
-
Compatibility:Minor
BaseModule := MODULE, VIRTUAL EXPORT AppendUniqueID(VIRTUAL DATASET ds) := FUNCTION ds1 := PROJECT ( ds, TRANSFORM ( { UNSIGNED6 gid, RECORDOF(LEFT) }, SELF.gid := COUNTER, SELF := LEFT ) ); RETURN ds1; END; END; ChildModule := MODULE(BaseModule), VIRTUAL END; x := NOFOLD(DATASET(['a', 'b', 'c'], {STRING1 s})); ChildModule.AppendUniqueID(x);
Syntax checking the above results in an error (from 6.4.22 eclcc):
assert(scope) failed - file: hqlexpr.cpp, line 9902 Testing/BWR_Test7.ecl(26,1): error C3000: assert(scope) failed - file: hqlexpr.cpp, line 9902 1 error, 0 warning