syntax: 'meth' -> 'fun', 'attr' -> 'var'
[nit.git] / tests / error_ret_type.nit
index 562b740..41dc4b4 100644 (file)
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-meth toto: Int
+fun toto: Int
 do
        return '4'
 end