Skip to content

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 requested a review from stevelinton August 14, 2018 12:10
@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
@fingolfin fingolfin force-pushed the mh/zero-arg-constructors branch from e36b52f to 369c4d1 Compare August 14, 2018 16:43
@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 force-pushed the mh/zero-arg-constructors branch from 369c4d1 to fa54447 Compare August 15, 2018 11:40
@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