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

test(ivy): compiler compliance tests should support ? #25435

Closed
wants to merge 1 commit into from

Conversation

kara
Copy link
Contributor

@kara kara commented Aug 10, 2018

This PR fixes the way that the compiler compliance test matches compilation output to expected output. We were missing the ? operator from our regexp list, which was causing the tests to completely ignore any expected output after ? in a test.

This was causing the pure functions test to pass when it actually should have failed. While the compiler still generates the correct code for pure functions, the expected output string was incorrect in the test (switched the pipe index and slot offset args, for example). The test has been fixed.

@kara kara added type: bug/fix action: review The PR is still awaiting reviews from at least one requested reviewer target: major This PR is targeted for the next major release comp: ivy labels Aug 10, 2018
@kara kara requested a review from mhevery August 10, 2018 21:12
@kara kara removed the action: review The PR is still awaiting reviews from at least one requested reviewer label Aug 10, 2018
@mary-poppins
Copy link

You can preview 90ddd42 at https://pr25435-90ddd42.ngbuilds.io/.

@kara kara added the action: merge The PR is ready for merge by the caretaker label Aug 10, 2018
@benlesh benlesh closed this in 4a4d6fb Aug 11, 2018
FrederikSchlemmer pushed a commit to FrederikSchlemmer/angular that referenced this pull request Jan 3, 2019
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker cla: yes target: major This PR is targeted for the next major release type: bug/fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants