Skip to content

Conversation

@Krinkle
Copy link
Member

@Krinkle Krinkle commented Aug 10, 2021

The import worked fine, but it produced a warning as side-effect.

Prevent this by recognising that some URL nodes assigned to $path during the first phase have $value set to a Variable node (instead of an Anonymous node), and thus don't have a value property themselves yet.

Fixes #29.
Fixes #32.

@Krinkle Krinkle requested a review from jdforrester August 10, 2021 03:47
@Krinkle
Copy link
Member Author

Krinkle commented Aug 10, 2021

Test plan suggestion:

@Krinkle Krinkle force-pushed the fix-var-import-warning branch from 01fb53d to 2d45722 Compare August 10, 2021 03:51
@Krinkle Krinkle assigned Krinkle and AaronSchulz and unassigned Krinkle Nov 20, 2021
Copy link

@AaronSchulz AaronSchulz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Grammar error at "with have" in commit summary

The import worked fine, but it produced a warning as side-effect.

Prevent this by recognising that some URL nodes assigned to $path
during the first phase have $value set to a Variable node (instead
of an Anonymous node), and thus don't have a value property themselves
yet.

Fixes wikimedia#29.
Fixes wikimedia#32.
@Krinkle Krinkle force-pushed the fix-var-import-warning branch from 2d45722 to bd0b8dd Compare November 24, 2021 04:33
@AaronSchulz AaronSchulz merged commit 55c5530 into wikimedia:main Nov 24, 2021
@Krinkle Krinkle deleted the fix-var-import-warning branch November 26, 2021 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants