Common Mistakes & Compiler Errors
Fix the typical 'no actual declaration' failures.
Errors Are Your Friend
expect/actual mistakes surface at compile time, never as silent runtime bugs. Learning the messages makes fixing them fast. 🛠️
No actual Declaration
The most common error is forgetting an actual for one target. The compiler says expected declaration has no actual for that platform.
All lessons in this course
- Why expect/actual Exists
- Get the Platform Name per Target
- expect/actual Classes & Properties
- Common Mistakes & Compiler Errors