It seems like a bug. Try updating your IDE or checking settings related to "Auto Declare." If the issue persists, report it to the software support team. Signature! solar smash