Skip to content
This repository was archived by the owner on Nov 20, 2024. It is now read-only.

camel_case_types support for nonfunction type aliases #2531

Merged
merged 2 commits into from
Mar 18, 2021

Conversation

pq
Copy link
Contributor

@pq pq commented Mar 18, 2021

@google-cla google-cla bot added the cla: yes label Mar 18, 2021
@coveralls
Copy link

coveralls commented Mar 18, 2021

Coverage Status

Coverage increased (+0.003%) to 96.66% when pulling 9626f5d on nonfun_ta_camel_case_types into e2a1de2 on master.

@pq pq changed the title support for nonfunction type aliases camel_case_types support for nonfunction type aliases Mar 18, 2021
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

// test w/ `pub run test -N camel_case_types`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider adding tests for

  • generic function type aliases (typedef f = void Function();)
  • class type aliases (class c = Object with M;)
  • enums (enum e { a, b })
  • mixins (mixin m {})
  • extensions (extension ext on Object {})

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, wow. enums, mixins and extensions are not supported! 😬 Since that could have some internal impact, I'm going to break that change into a separate issue. Thanks!

@pq pq merged commit 4638fbe into master Mar 18, 2021
@pq pq deleted the nonfun_ta_camel_case_types branch March 18, 2021 22:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

3 participants