You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Comparing to Go, the current implementation of interfaces in XD Pascal is limited, since it lacks 'type assertions' and 'type switches' (i.e., the case statement over types, in Pascal terms). This omission, for example, makes empty interfaces meaningless, while they are widely used in Go, even for implementing Println.
Type switches require run-time type information (RTTI).
The text was updated successfully, but these errors were encountered:
Comparing to Go, the current implementation of interfaces in XD Pascal is limited, since it lacks 'type assertions' and 'type switches' (i.e., the
case
statement over types, in Pascal terms). This omission, for example, makes empty interfaces meaningless, while they are widely used in Go, even for implementingPrintln
.Type switches require run-time type information (RTTI).
The text was updated successfully, but these errors were encountered: