Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulKlint committed Oct 17, 2024
1 parent 53a4cfd commit fcf7f9c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ test bool VisitError5() = unexpectedType("insert 2;");

test bool WrongInsert() = unexpectedType("String vs = visit ([1,2,3]) {case 1: insert \"abc\";} == [\"abc\", 2, 3];;");


// https://github.com/cwi-swat/rascal/issues/416

test bool Issue416() = checkModuleOK("
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,6 @@ void clearMemory() {
str cleanName(str name)
= name[0] == "\\" ? name[1..] : name;

// loc writeModule(str name, str body){
// mloc = |memory:///test-modules/<cleanName(name)>.rsc|;
// writeFile(mloc, "@bootstrapParser
// 'module <name>
// '<body>");
// return mloc;
// }

loc writeModule(str moduleText){
<mname, mbody> = extractModuleNameAndBody(moduleText);
mloc = |memory:///test-modules/<cleanName(mname)>.rsc|;
Expand Down

0 comments on commit fcf7f9c

Please sign in to comment.