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

simplify find_instrument type #5293

Merged
merged 1 commit into from
Jul 31, 2023

Conversation

jenshnielsen
Copy link
Collaborator

If we don't know the type of the instrument the returned type should simply be Instrument not T. This matches the overload and avoids a cast to an undefined type

@codecov
Copy link

codecov bot commented Jul 31, 2023

Codecov Report

Merging #5293 (b3c21fd) into master (5d203af) will decrease coverage by 0.01%.
Report is 2 commits behind head on master.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #5293      +/-   ##
==========================================
- Coverage   67.50%   67.50%   -0.01%     
==========================================
  Files         359      359              
  Lines       29885    29884       -1     
==========================================
- Hits        20174    20173       -1     
  Misses       9711     9711              

@jenshnielsen jenshnielsen added this pull request to the merge queue Jul 31, 2023
Merged via the queue into microsoft:master with commit 29097cb Jul 31, 2023
14 checks passed
@jenshnielsen jenshnielsen deleted the find_instrument_type branch July 31, 2023 14:35
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