Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS8802
Only one compilation unit can have top-level statements.