Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

why can't default members be forward-declared #4485

Open
CeylonMigrationBot opened this issue Jul 9, 2015 · 2 comments
Open

why can't default members be forward-declared #4485

CeylonMigrationBot opened this issue Jul 9, 2015 · 2 comments

Comments

@CeylonMigrationBot
Copy link

[@gavinking] The spec says that default attributes and functions can't be forward-declared, and the typechecker enforces that, but for the life of me I don't remember why. It doesn't seem like a reasonable restriction.

[Migrated from ceylon/ceylon-spec#1379]

@CeylonMigrationBot
Copy link
Author

[@gavinking] I have pushed a commit that relaxes the restriction. But is there some reason we need it?

@CeylonMigrationBot
Copy link
Author

[@gavinking]

But is there some reason we need it?

Yes: see #4519.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants