Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add @protected metadata (annotation) #6119

Closed
kevmoo opened this issue Oct 21, 2012 · 14 comments
Closed

Add @protected metadata (annotation) #6119

kevmoo opened this issue Oct 21, 2012 · 14 comments
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. P3 A lower priority bug or feature request type-enhancement A request for a change that isn't a bug

Comments

@kevmoo
Copy link
Member

kevmoo commented Oct 21, 2012

This is in the spirit of issue #3.

Think of it as a sister to @­override.

  1. Like other metadata/annotations: zero effect on runtime semantics. Purely for tooling.
  2. Calls/References to such members outside of the class and subclasses yield warnings in tools
@sethladd
Copy link
Contributor

It would be really cool if the Editor had a user-land "plugin" feature so developer can add behavior triggered by annotations.


Removed Type-Defect label.
Added Type-Enhancement, Area-Editor, Triaged labels.

@danrubel
Copy link

Added this to the M3 milestone.

@danrubel
Copy link

We currently support "build.dart" as a mechanism for generating errors, warnings, and other files based upon annotations and other content in the Dart source files.... which addresses comment 1.


Removed this from the M3 milestone.
Added this to the Later milestone.
Removed Priority-Medium label.
Added Priority-Low label.

@bwilkerson
Copy link
Member

Set owner to @bwilkerson.

@kevmoo
Copy link
Member Author

kevmoo commented Dec 19, 2012

What is the mechanism for reporting warnings/errors via build.dart?

@bwilkerson
Copy link
Member

What is the mechanism for reporting warnings/errors via build.dart?

There isn't one. I'm not sure what Dan meant by his comment, but there isn't currently any way to add warnings and errors. Adding such a mechanism is certainly something on our radar, but unfortunately not something we're likely to get to before the end of Q1.

@bwilkerson
Copy link
Member

Removed Area-Editor label.
Added Area-Library label.

@DartBot
Copy link

DartBot commented Jan 20, 2014

This comment was originally written by nb...@gmail.com


I would be happy with an editor only annotation provided it wouldn't require manual setup for the consumer of your library and it worked with dartdoc.

@kevmoo
Copy link
Member Author

kevmoo commented Jan 20, 2014

Clearly there is interest here: https://code.google.com/p/dart/issues/detail?id=3193

@kasperl
Copy link

kasperl commented Jul 10, 2014

Removed this from the Later milestone.
Added Oldschool-Milestone-Later label.

@kasperl
Copy link

kasperl commented Aug 4, 2014

Removed Oldschool-Milestone-Later label.

@bwilkerson
Copy link
Member

Removed the owner.

@DartBot
Copy link

DartBot commented Oct 3, 2014

This comment was originally written by george.moscho...@gmail.com


This looks like a good workaround, I really miss overridable 'private' methods.

@kevmoo kevmoo added Type-Enhancement P3 A lower priority bug or feature request area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. labels Oct 3, 2014
@pq
Copy link
Member

pq commented Feb 26, 2016

This is now in the meta package. See: #25841.

@pq pq closed this as completed Feb 26, 2016
@kevmoo kevmoo added type-enhancement A request for a change that isn't a bug and removed triaged labels Mar 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. P3 A lower priority bug or feature request type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

7 participants