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

Forbid constructors with 0 arguments #2700

Merged
merged 1 commit into from
Aug 16, 2018

Conversation

fingolfin
Copy link
Member

Constructors with 0 arguments make no sense. Thus, forbid creating such
constructors, and also forbid installing zero argument methods for
constructors.

@fingolfin fingolfin added the release notes: to be added PRs introducing changes that should be (but have not yet been) mentioned in the release notes label Aug 14, 2018
@codecov
Copy link

codecov bot commented Aug 14, 2018

Codecov Report

Merging #2700 into master will decrease coverage by 0.01%.
The diff coverage is 98.9%.

@@            Coverage Diff             @@
##           master    #2700      +/-   ##
==========================================
- Coverage   75.52%   75.51%   -0.02%     
==========================================
  Files         478      478              
  Lines      241590   242082     +492     
==========================================
+ Hits       182465   182811     +346     
- Misses      59125    59271     +146
Impacted Files Coverage Δ
lib/oper.g 81.17% <100%> (+0.15%) ⬆️
src/c_oper1.c 88.06% <100%> (+0.02%) ⬆️
src/hpc/c_oper1.c 86.75% <100%> (+0.03%) ⬆️
src/opers.c 94.12% <50%> (+0.12%) ⬆️
src/io.c 62.89% <0%> (+2.14%) ⬆️

Constructors with 0 arguments make no sense. Thus, forbid creating such
constructors, and also forbid installing zero argument methods for
constructors.
@fingolfin fingolfin merged commit 27a4784 into gap-system:master Aug 16, 2018
@fingolfin fingolfin deleted the mh/zero-arg-constructors branch August 16, 2018 00:09
@fingolfin fingolfin added release notes: added PRs introducing changes that have since been mentioned in the release notes and removed release notes: to be added PRs introducing changes that should be (but have not yet been) mentioned in the release notes labels Sep 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release notes: added PRs introducing changes that have since been mentioned in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants