Test for referencing unexported values within a module
In advance of fix for #245
commit31294cb07d19acbfbc3080792283fa965cf1861d
authorGary Burgess <gary.burgess@gmail.com>
dateThu 6 Mar 2014, 20:00 (13 years ago)
parent45e5de4
examples/passing/ExportExplicit2.pursnew file+15
@@ -0,0 +1,15 @@
1+module M1 (bar) where
2+
3+ foo :: Number
4+ foo = 0
5+
6+ bar :: Number
7+ bar = foo
8+
9+module Main where
10+
11+ import M1
12+
13+ testBar = bar
14+
15+ main = Debug.Trace.trace "Done"