contracts: change the contract syntax
[nit.git] / tests / error_fun_ret2.nit
index 02e6c43..d9beb18 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-meth toto: Int
+fun toto: Int
 do
        if true then
                return 0
        end
 end
+
+toto.output