ValidateMonomorphization.Apply(QsCompilation, Boolean) Method

Definition

Applies the transformation that walks through the syntax tree, checking to ensure that all generic data has been removed. If allowTypeParametersForIntrinsics is true, then generic data is allowed for type parameters of callables that have an intrinsic body.

public static void Apply (Microsoft.Quantum.QsCompiler.SyntaxTree.QsCompilation compilation, bool allowTypeParametersForIntrinsics = true);
static member Apply : Microsoft.Quantum.QsCompiler.SyntaxTree.QsCompilation * bool -> unit
Public Shared Sub Apply (compilation As QsCompilation, Optional allowTypeParametersForIntrinsics As Boolean = true)

Parameters

compilation
QsCompilation
allowTypeParametersForIntrinsics
Boolean

Applies to