Conversation
Signed-off-by: ivanpauno <ivanpauno@ekumenlabs.com>
Member
Author
Member
Author
|
Added bug label, because I think not allowing |
hidmic
approved these changes
May 15, 2019
| """Constructor.""" | ||
| super().__init__() | ||
|
|
||
| ensure_argument_type(variable_name, str, 'variable_name', 'LaunchConfiguration') |
There was a problem hiding this comment.
@ivanpauno shouldn't we ensure it's SomeSubstitutionsType anyways?
Member
Author
There was a problem hiding this comment.
We aren't usually ensuring that arguments are of an specific type. e.g.:
launch/launch/launch/substitutions/environment_variable.py
Lines 26 to 44 in d2ea92c
I don't know why we should do it here and not in other places.
CI is already green or with unrelated errors. Could you please check macOS failures too? They seem to be unrelated.
|
Test failures on Mac OS look like the |
Member
Author
|
MacOS faliures were unrelated (see ros2/build_farmer#189). Merging |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Found this while working in launch_frontend.
I don't see a reason for not allowing
SomeSubstitutionsTypethere.