AndreVanDelft / scala

The SubScript extension to the Scala programming language
http://www.subscript-lang.org/
12 stars 1 forks source link

SubScript-Scalac Build procedure vulnerable #74

Open AndreVanDelft opened 9 years ago

AndreVanDelft commented 9 years ago

The build procedure for Scalac is vulnerable. I changed Parsers.scala to a point that it could not parse subscript scripts properly any more.

Unfortunately I did also an ant all.clean so that the 'locker' scalac had to be compiled; and this locker is used to compile Predef.scala, subscript-swing etc.

These did not compile any more, but they are needed to get Jars with which I could test the compiler, using the command gradle --debug publish-local -Ddocs.skip=1.

I bypassed this by renaming Predef.scala to something not ending in .scala, and by commenting-out subscript-swing etc in build.xml. In a restructured Compiler we should avoid such problems.