Skip to content

Implementation tracking/meta Issue for Super Mixins  #12

Closed
@JekCharlsonYu

Description

@JekCharlsonYu

This issue is for tracking implementation of Super Mixins:

TODO/Dependencies

P0 Blockers

P1 Blockers

Non-Blockers

**Based on meta issue template

Activity

leafpetersen

leafpetersen commented on Aug 14, 2018

@leafpetersen
Member

I have added an initial cut on an implementation plan here. If you are an assignee of this bug, please review the implementation plan and the proposal itself (if needed), and provide any feedback and comments. If you see no technical issues with the proposal, and believe that the implementation plan is reasonable, please LGTM the plan here in the issue tracker.

@a-siva for VM
@kmillikin for CFE
@munificent for dartfmt
@jwren for grok, intellij
@jcollins-g for dartdoc
@bwilkerson for analyzer
@devoncarew for dartpad
@kwalrath for documentation
@vsmenon for DDC
@johnniwinther for dart2js
@Hixie for flutter migration

cc @JekCharlsonYu @dgrove @lrhn @rakudrama @sigmundch

removed their assignment
on Aug 14, 2018
leafpetersen

leafpetersen commented on Aug 14, 2018

@leafpetersen
Member
leafpetersen

leafpetersen commented on Aug 14, 2018

@leafpetersen
Member

Hmm. I don't seem to be able to assign this issue to most of you, but if you're listed above, please take a look and sign off.

kevmoo

kevmoo commented on Aug 15, 2018

@kevmoo
Member

I guess you could have made a "sign-off" PR and have us all approve.

LGTM

bwilkerson

bwilkerson commented on Aug 15, 2018

@bwilkerson
Member

lgtm

Hixie

Hixie commented on Aug 15, 2018

@Hixie

I believe @yjbanov has volunteered to do the Flutter migration.

Hixie

Hixie commented on Aug 15, 2018

@Hixie

For Flutter our usual policy is to only allow one syntax at a time, and to require lints to force us onto the new syntax if we change the allowed syntax. I would feel more comfortable if Flutter was moved to the new syntax in phase 3 after the lint has been made available in phase 2. LGTM assuming that we do the migration on Flutter's side after we've got a lint to enforce it.

leafpetersen

leafpetersen commented on Aug 15, 2018

@leafpetersen
Member

@Hixie I'm happy to handle the migration however works best for you. My worry was/is this: I can't give you a lint to change a definition of a super mixin to the new syntax, because I have no way of knowing what things are super mixins until they are used. So the lint will fire on uses, not definitions.

So I think it would be bad to land the analyzer hint that tells you are using an old style super mixin before we fix flutter. Otherwise users will see hints telling them to fix flutter... :)

But we should be able to land them (essentially) simultaneously: migrate flutter to the new syntax and roll in a new analyzer with the hint. Or maybe we can roll in the new analyzer, but initially only turn on the hint inside of flutter?

Does this seem reasonable?

Hixie

Hixie commented on Aug 15, 2018

@Hixie

What we normally do is implement the lint, roll that, then turn on the lint and fix the bugs it finds at the same time (in a separate later PR).

devoncarew

devoncarew commented on Aug 15, 2018

@devoncarew
Member

Based on the above discussion, we should also call out above the necessary work in the linter.

29 remaining items

jcollins-g

jcollins-g commented on Sep 11, 2018

@jcollins-g

Implementation plan is reasonable for dartdoc. Typically with new language features dartdoc has to have some minor revisions (and new published versions of analyzer) to keep from crashing when encountering the new syntax. So there will be some distributed impact over the next few months.

added
implementationTrack the implementation of a specific feature OBSOLETE: Please use SDK issue
on Oct 17, 2018
added this to the Dart 2.1 milestone on Oct 17, 2018
mit-mit

mit-mit commented on Nov 2, 2018

@mit-mit
Member

@JekCharlsonYu what remains on this feature?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

implementationTrack the implementation of a specific feature OBSOLETE: Please use SDK issue

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @kevmoo@munificent@Hixie@devoncarew@vsmenon

      Issue actions

        Implementation tracking/meta Issue for Super Mixins · Issue #12 · dart-lang/language