diff --git a/compiler/src/prog8/CompilerMain.kt b/compiler/src/prog8/CompilerMain.kt index 6a0f9b8d8..f3e86e557 100644 --- a/compiler/src/prog8/CompilerMain.kt +++ b/compiler/src/prog8/CompilerMain.kt @@ -69,8 +69,6 @@ private fun compileMain(args: Array): Boolean { return false } - println("BREAKPOINTINSTR=$breakpointCpuInstruction") - val outputPath = pathFrom(outputDir) if(!outputPath.toFile().isDirectory) { System.err.println("Output path doesn't exist") diff --git a/compiler/test/TestTypecasts.kt b/compiler/test/TestTypecasts.kt index 4d01eaec1..7e9007bff 100644 --- a/compiler/test/TestTypecasts.kt +++ b/compiler/test/TestTypecasts.kt @@ -1098,6 +1098,14 @@ main { bool @shared bb = 6144 } }""" - compileText(C64Target(), true, src, writeAssembly = true) shouldNotBe null + compileText(C64Target(), true, src, writeAssembly = false) shouldNotBe null + + val src2=""" +main { + sub start() { + ubyte @shared ubb = 6144 >> 2 ; should still be type error + } +}""" + compileText(C64Target(), true, src2, writeAssembly = false) shouldBe null } })