File tree Expand file tree Collapse file tree
src/org/rascalmpl/library/lang/rascal/tests/functionality Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,11 +61,11 @@ test bool namePreservation2() {
6161 // this is a simple ad-hoc mock for the real explode function:
6262 syntax [&T ] explode (data [&T ] t :a ()) = [syntax [A ]] "a" ;
6363
64- // the type signature of `implode ` guarantees name preservation,
64+ // the type signature of `explode ` guarantees name preservation,
6565 // so explode of a data A will produce a syntax A without a type-checking error:
6666 syntax [A ] x = explode (a ());
6767
68- // this is not the real test. Of course the dynamic type would be data [A].
68+ // this is not the real test. Of course the dynamic type would be syntax [A].
6969 // the real test was the above assignment, where the static type system for
7070 // assignment and function return types would fail if we had a bug here.
7171 return sort ("A" ) == typeOf (x );
You can’t perform that action at this time.
0 commit comments