Error when generating an empty dictionary

Description

In the following code

EXPORT RCCodes(STRING5 Code) := MODULE
EXPORT Dct := DICTIONARY([
],{ STRING5 Code => STRING GroupType, STRING Description }) : ONCE;
EXPORT GroupType := Dct[Code].GroupType;
EXPORT Description := Dct[Code].Description;
END;

Description := RCCodes('23456').Description;
output (Description);

It is generating an empty dictionary and giving me a compiler error.

WUID: W20151111-164526

Compiler error on eclserver. Code 3000.
Message: assert(dictionary->getOperator() == no_createdictionary) failed - file: /var/lib/jenkins/workspace/LN-Candidate-withplugins-5.4.4-1/LN/centos-6.4-x86_64/HPCC-Platform/ecl/hqlcpp/hqlhtcpp.cpp, line 11283

Conclusion

None

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Components

Assignee

Reporter

Priority

Fix versions

Pull Request URL

Affects versions

Created November 11, 2015 at 10:15 PM
Updated March 15, 2016 at 6:55 PM
Resolved March 15, 2016 at 6:55 PM