mirror of https://github.com/lukechilds/rollup.git
Browse Source
It is a syntax error to combine namespace import specifiers with named or default specifiers. Fixes #355.gh-384
Brian Donovan
9 years ago
7 changed files with 26 additions and 14 deletions
@ -1,10 +1,11 @@ |
|||||
import factory from 'factory'; |
import factory from 'factory'; |
||||
import { bar, foo } from 'baz'; |
import { bar, foo } from 'baz'; |
||||
|
import { port } from 'shipping-port'; |
||||
import * as containers from 'shipping-port'; |
import * as containers from 'shipping-port'; |
||||
import alphabet, { a } from 'alphabet'; |
import alphabet, { a } from 'alphabet'; |
||||
|
|
||||
factory( null ); |
factory( null ); |
||||
foo( bar ); |
foo( bar, port ); |
||||
containers.forEach( console.log, console ); |
containers.forEach( console.log, console ); |
||||
console.log( a ); |
console.log( a ); |
||||
console.log( alphabet.length ); |
console.log( alphabet.length ); |
||||
|
@ -1,10 +1,11 @@ |
|||||
import factory from 'factory'; |
import factory from 'factory'; |
||||
import { foo, bar } from 'baz'; |
import { foo, bar } from 'baz'; |
||||
import * as containers from 'shipping-port'; |
import * as containers from 'shipping-port'; |
||||
|
import { port } from 'shipping-port'; |
||||
import alphabet, { a, b } from 'alphabet'; |
import alphabet, { a, b } from 'alphabet'; |
||||
|
|
||||
factory( null ); |
factory( null ); |
||||
foo( bar ); |
foo( bar, port ); |
||||
containers.forEach( console.log, console ); |
containers.forEach( console.log, console ); |
||||
console.log( a ); |
console.log( a ); |
||||
console.log( alphabet.length ); |
console.log( alphabet.length ); |
||||
|
Loading…
Reference in new issue