]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/ExportBug1.scl
(refs #7776) Fixed module export for javaImports
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / ExportBug1.scl
1 // module Trig
2 module {
3     export = [sin]
4 }
5
6 importJava "java.lang.Math" where
7     sin :: Double -> Double
8     cos :: Double -> Double
9 --
10 import "Trig"
11
12 main = sin 0.0
13 --
14 0.0
15 --
16 import "Trig"
17
18 main = cos 0.0
19 --
20 3:8-3:11: Couldn't resolve cos.