Skip to content

[VS2013/2015] Wrong formatting in jsx expressions in attributes of jsx elements #4571

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

Closed
vladima opened this issue Aug 31, 2015 · 1 comment
Assignees
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue

Comments

@vladima
Copy link
Contributor

vladima commented Aug 31, 2015

import * as React from "react";
<div
    autoComplete={(function () {
        return true/*1*/
    })() }
    >
</div>

Type ';' at /*1*/

formattinginattributes1

Probably lo-pri but it will be nice to not to have such glitches

@vladima vladima added the Bug A bug in TypeScript label Aug 31, 2015
@mhegazy mhegazy added this to the TypeScript 1.8 milestone Sep 18, 2015
@mhegazy mhegazy modified the milestones: TypeScript 2.0, TypeScript 1.7 Oct 6, 2015
@vladima
Copy link
Contributor Author

vladima commented Jan 4, 2016

fixed in #4398, regression tests is added in #6348

@vladima vladima added the Fixed A PR has been merged for this issue label Jan 4, 2016
@vladima vladima closed this as completed Jan 4, 2016
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue
Projects
None yet
Development

No branches or pull requests

2 participants