nitc :: MMethodDef :: no_intro_contract
Display an warning message if necessary
# Create a contract on the introduction classdef of the property.
# Display an warning message if necessary
private fun no_intro_contract(v: ContractsVisitor, mcontract: MContract, n_annotations: Array[AAnnotation])
do
v.toolcontext.modelbuilder.create_method_from_property(mcontract, mcontract.intro_mclassdef, false, v.m_signature)
mcontract.no_intro_contract(v, n_annotations)
end
src/contracts.nit:671,2--677,4