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

Alias value not accessible through config object #487

Open
anyaevostinar opened this issue Aug 22, 2023 · 0 comments
Open

Alias value not accessible through config object #487

anyaevostinar opened this issue Aug 22, 2023 · 0 comments

Comments

@anyaevostinar
Copy link
Contributor

anyaevostinar commented Aug 22, 2023

Describe the bug
When you create an alias, you can't access it through the alias name methods of the config object.

To Reproduce
Steps to reproduce the behavior:
Assuming you've set up a config object with MUTATION_RATE with an alias MUTATION_RATE_ALIAS (as in the current test setup), attempting to then access the alias value throws error, i.e. by adding this line to the test file:

REQUIRE(config.MUTATION_RATE_ALIAS() > 0.098);

Expected behavior
Alias method should return value associated with it.

Toolchain (please complete the following information):

  • OS: Mac Ventura 13.4.1
  • Empirical Version: main

H/T to @K-Johnson-Horrigan for finding issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant