Mercurial Hosting > luan
diff core/src/luan/modules/luan_to_java.luan @ 693:ca169567ce07
module URIs must now include ".luan"
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 19 Apr 2016 15:54:11 -0600 |
parents | 49f3d290bebd |
children | 77e0c859c8a3 |
line wrap: on
line diff
--- a/core/src/luan/modules/luan_to_java.luan Mon Apr 18 20:40:21 2016 -0600 +++ b/core/src/luan/modules/luan_to_java.luan Tue Apr 19 15:54:11 2016 -0600 @@ -1,5 +1,5 @@ java() local LuanCompiler = require "java:luan.impl.LuanCompiler" -local Io = require "luan:Io" +local Io = require "luan:Io.luan" Io.stdout.write( LuanCompiler.toJava( "stdin", Io.stdin.read_text() ) )