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

Fix conjunction placement #89

Merged
merged 2 commits into from
Mar 25, 2020
Merged

Fix conjunction placement #89

merged 2 commits into from
Mar 25, 2020

Conversation

TadeasKucera
Copy link
Contributor

In case of a conjunction preceded by some newlines and a one-line comment:

		true // cuckoo

		and false

our autoformatter wrongly created

		true // cuckoo and
		false

This is fixed in this PR, where

		//cuckoo
		cuckoo.sync.mutex(/a/)
		
		or cuckoo.sync.mutex(/b/)
		
		//cuckoo

	
		or cuckoo.sync.mutex(/c/)




		or cuckoo.sync.mutex(/d/)

becomes this

		//cuckoo
		cuckoo.sync.mutex(/a/) or
		cuckoo.sync.mutex(/b/) or
		//cuckoo
		cuckoo.sync.mutex(/c/) or
		cuckoo.sync.mutex(/d/)

@metthal metthal merged commit 60b2123 into master Mar 25, 2020
@metthal metthal deleted the fix_conjunction_placement branch March 25, 2020 19:56
@TadeasKucera
Copy link
Contributor Author

This PR solved #79

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.

None yet

2 participants