[Swift-commit] r3705 - trunk/tests/language/should-not-work

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Mon Nov 8 14:30:10 CST 2010


Author: skenny
Date: 2010-11-08 14:30:09 -0600 (Mon, 08 Nov 2010)
New Revision: 3705

Added:
   trunk/tests/language/should-not-work/119-missing-semi.swift
Log:
tests for missing semi-colon at the end of mapping statement

Added: trunk/tests/language/should-not-work/119-missing-semi.swift
===================================================================
--- trunk/tests/language/should-not-work/119-missing-semi.swift	                        (rev 0)
+++ trunk/tests/language/should-not-work/119-missing-semi.swift	2010-11-08 20:30:09 UTC (rev 3705)
@@ -0,0 +1,14 @@
+type file {};
+type student {  
+  file name;  
+  file age;  
+  file gpa;  
+}  
+app (file t) getname(string n) { 
+        echo n stdout=@filename(t);
+}
+
+file results <single_file_mapper; file="sinfo.txt">;
+student fnames[] <csv_mapper;file="stu_list.txt">
+results = getname(@filename(fnames[0]));
+




More information about the Swift-commit mailing list