While trying to write a simple program I am not able to compile this simple program. I obtain the two errors:
DBScan.chpl:7: syntax error: near 'proc'
DBScan.chpl:13: syntax error: near '}'
Which I do not understand why they happen. r
Is this issue currently blocking your progress?
Steps to Reproduce
Source Code:
module dbscan{
use List
proc main() {
var B: [1..n, 1..n] real;
var C : list(list(int)) = [[1]];
writeln(1);
}
}
Compile command:
chpl DBScan.chpl
Associated Future Test(s):
Configuration Information
Output of chpl --version:
chpl version 2.0.0
built with LLVM version 14.0.0
Summary of Problem
Description:
While trying to write a simple program I am not able to compile this simple program. I obtain the two errors: DBScan.chpl:7: syntax error: near 'proc' DBScan.chpl:13: syntax error: near '}'
Which I do not understand why they happen. r
Is this issue currently blocking your progress?
Steps to Reproduce
Source Code:
Compile command:
chpl DBScan.chpl
Associated Future Test(s):
Configuration Information
chpl --version
: chpl version 2.0.0 built with LLVM version 14.0.0