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

Remove setindex! method for CharTable #107

Merged
merged 1 commit into from
Aug 16, 2024
Merged

Remove setindex! method for CharTable #107

merged 1 commit into from
Aug 16, 2024

Conversation

fingolfin
Copy link
Member

I don't see its utility, and it is potentially quite dangerous

@SoongNoonien
Copy link
Member

I'm using this in speccharparam! and specclassparam!. Do have an alternative solution to that?

@SoongNoonien
Copy link
Member

Maybe this could be resolved like this.

@fingolfin
Copy link
Member Author

Yeah as discussed there: replace speccharparam! by a function that applies to generic character. And change specclassparam! to "directly" modify the table, bypassing setindex!

I don't see its utility, and it is potentially quite dangerous
Copy link

codecov bot commented Aug 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.46%. Comparing base (eb3140e) to head (42fff2b).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #107      +/-   ##
==========================================
+ Coverage   71.38%   71.46%   +0.07%     
==========================================
  Files          10       10              
  Lines         905      904       -1     
==========================================
  Hits          646      646              
+ Misses        259      258       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@SoongNoonien SoongNoonien merged commit b59d2b0 into master Aug 16, 2024
6 of 7 checks passed
@fingolfin fingolfin deleted the mh/setindex branch August 20, 2024 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants