浏览代码

fixed missing types.

Nicolas Cannasse 19 年之前
父节点
当前提交
7d63972f85
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      std/neko/Sys.hx

+ 3 - 3
std/neko/Sys.hx

@@ -80,15 +80,15 @@ class Sys {
 		return h;
 	}
 
-	public static function stdin() {
+	public static function stdin() : File {
 		return untyped new File(file_stdin());
 	}
 
-	public static function stdout() {
+	public static function stdout() : File {
 		return untyped new File(file_stdout());
 	}
 
-	public static function stderr() {
+	public static function stderr() : File {
 		return untyped new File(file_stderr());
 	}