addSemanticRestriction

fun addSemanticRestriction(restriction: A_SemanticRestriction)

Add a semantic restriction to its associated method.

Parameters

restriction

A semantic restriction that validates the static types of arguments at call sites.

Throws

If the signature is invalid.