Compiler Error AL0851

Note

The AL diagnostics topics are in preview. If you have input for this topic, we'd love to hear from you. Use our GitHub repo to create a PR and add content to this topic by going to here. To read about contributing, see Contribute to the Help. Thanks!

The type '{0}' doesn't support casting.

Description

The type {0} cannot be used with the is/as keywords. Only interfaces and variant are supported.

Getting started with AL
Developing extensions