Skip to content
This repository was archived by the owner on Jul 12, 2024. It is now read-only.

Commit ccf1532

Browse files
committedMar 7, 2024
Removed unnecessary asInstanceOf + comment
1 parent 352f47a commit ccf1532

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed
 

‎tests/src/test/scala/tests/CoreTests.scala

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ class CoreTests extends munit.FunSuite {
1414
wasmModule.toFuture.map { module =>
1515
val testFunction =
1616
module.instance.exports
17-
.asInstanceOf[js.Dynamic]
1817
.selectDynamic(suite.methodName)
1918
.asInstanceOf[js.Function0[Int]]
2019
assert(testFunction() == 1)

‎wasm/src/main/scala/Compiler.scala

-2
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@ object Compiler {
2323
def compileIRFiles(
2424
irFiles: Seq[IRFile],
2525
moduleInitializers: List[ModuleInitializer],
26-
// outputDir: String,
2726
outputName: String
2827
)(implicit ec: ExecutionContext): Future[Unit] = {
29-
3028
val module = new WasmModule
3129
val builder = new WasmBuilder()
3230
implicit val context: WasmContext = new WasmContext(module)

0 commit comments

Comments
 (0)
This repository has been archived.