mirror of
https://github.com/hanzoai/prettier.git
synced 2026-09-24 17:02:04 +00:00
11 lines
149 B
JavaScript
11 lines
149 B
JavaScript
/*
|
|
*
|
|
* @flow
|
|
*/
|
|
class A {
|
|
f(tainted : $Tainted<string>) {
|
|
// This *should* give a warning.
|
|
fakeDocument.location.assign(tainted);
|
|
}
|
|
}
|