mirror of https://github.com/lukechilds/rollup.git
Rich Harris
9 years ago
3 changed files with 16 additions and 0 deletions
@ -0,0 +1,3 @@ |
|||||
|
module.exports = { |
||||
|
description: 'namespaces are not shadowed (b)' |
||||
|
}; |
@ -0,0 +1,3 @@ |
|||||
|
export function foo () { |
||||
|
return 42; |
||||
|
} |
@ -0,0 +1,10 @@ |
|||||
|
import * as bar from './bar'; |
||||
|
|
||||
|
function car () { |
||||
|
var foo = function () { |
||||
|
return 'nope'; |
||||
|
}; |
||||
|
return bar.foo(); |
||||
|
} |
||||
|
|
||||
|
assert.equal( car(), 42 ); |
Loading…
Reference in new issue