syntax: 'meth' -> 'fun', 'attr' -> 'var'
[nit.git] / tests / error_fun_ret.nit
index 959efb9..8744a8e 100644 (file)
@@ -14,6 +14,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-meth toto: Int
+fun toto: Int
 do
 end