You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Please check if the PR fulfills these requirements:
* [x] Tests for the changes have been added/updated (if possible)
* [x] Documentation has been updated/added if relevant
### What is the current behavior?
<!-- List issue if it fixes/closes/implements one using the "Fixes
#<number>" or "Closes #<number>" syntax -->
none
### What is the new behavior?
we can now run salsa files
### Other information?
<!-- Is this a breaking change? -->
<!-- How did you test -->
this is not a breaking change and I tested it using some simple files (I
included an example below):
```salsa
module demo;
/*
Actors with this behavior simply create a migrate actor with the specified UAN and first UAL
and then migrate to the second UAL.
*/
behavior Migrate {
void print() {
standardOutput<-println( "Migrate actor just migrated here." );
}
void act( String[] args ) {
if (args.length != 3) {
standardOutput<-println( "Usage: java migration.Migrate <UAN> <srcUAL> <destUAL> " );
return;
}
UAN uan = new UAN(args[0]);
UAL ual = new UAL(args[1]);
Migrate migrateActor = new Migrate() at (uan, ual);
migrateActor<-print() @
migrateActor<-migrate( args[2] ) @
migrateActor<-print();
}
}
```
0 commit comments