Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS8363
A default literal 'default' is not valid as a pattern. Use another literal (e.g. '0' or 'null') as appropriate. To match everything, use a discard pattern 'var _'.