I successfully started a local swarm with 4 nodes all good there, now I am trying to compile the following example:
module MyModule {
import 0x0.LibraCoin;
// The identity function for coins: takes a LibraCoin.T as input and hands it back
public id(c: R#LibraCoin.T): R#LibraCoin.T {
return move(c);
}
}
But I am getting the following error:
Unable to parse module: ErrorMessage { msg: "ParserError: Invalid token at 144" }
If I remove both “R#” occurrences it does compile successfully. Any idea why it’s not accepting R#?
Thanks!!