Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Remove use of new Function syntax for onActiveStateChanged. #16

Merged
merged 1 commit into from
Oct 5, 2017

Conversation

jakobr-google
Copy link
Contributor

The new syntax isn't fully supported in 1.24, so switching back to good
old typedef.

Fixes dart-lang/http#1349.

@kevmoo
Copy link
Contributor

kevmoo commented Oct 4, 2017

Rebase over latest – and you'll get the travis check, too!

pubspec.yaml Outdated
@@ -1,5 +1,5 @@
name: http2
version: 0.1.4
version: 0.1.5
Copy link
Contributor

Choose a reason for hiding this comment

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

This can/should be 0.1.4+1

No new features – just a fix

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've always thought the +N's were silly. It's build metadata, which should be ignored when determining precedence. Yes, I know we pinned ourselves to 2.0.0-rc1 of semver to get around this, since the final 2.0.0 release specifically says to ignore build metadata, but why?

Semver also says that the patch version should increase for backwards compatible bugfixes, which is what this is.

(And you could rightfully argue that the 0.1.4 release should have been 0.2.0, since I added new, backwards compatible, public API...)

The new syntax isn't fully supported in 1.24, so switching back to good
old typedef.

Fixes #14.
@mkustermann mkustermann merged commit dd58f61 into dart-archive:master Oct 5, 2017
@jakobr-google jakobr-google deleted the nofunc branch October 5, 2017 12:21
mosuem pushed a commit to dart-lang/http that referenced this pull request Oct 17, 2024
…hive/http2#16)

The new syntax isn't fully supported in 1.24, so switching back to good
old typedef.

Fixes dart-lang/http2#14.
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.

Don't use new function syntax
4 participants