-
Notifications
You must be signed in to change notification settings - Fork 464
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
export-ns: WIP success cases for 'import *' of module with 'export * …
…(as ns)'
- Loading branch information
Valerie R Young
committed
Mar 16, 2018
1 parent
f45184c
commit 5ed0b9e
Showing
3 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
test/language/module-code/instn-star-props-nrml-star-as-exportns_FIXTURE.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// Copyright (C) 2018 Valerie Young. All rights reserved. | ||
// This code is governed by the BSD license found in the LICENSE file. | ||
|
||
var notExportedVar3; | ||
let notExportedLet3; | ||
const notExportedConst3 = null; | ||
function notExportedFunc3() {} | ||
function* notExportedGen3() {} | ||
class notExportedClass3 {} | ||
|
||
var starBindingId; | ||
|
||
export var starAsVarDecl; | ||
export let starAsLetDecl; | ||
export const starAsConstDecl = null; | ||
export function starAsFuncDecl() {} | ||
export function* starAsGenDecl() {} | ||
export class starAsClassDecl {} | ||
export { starAsBindingId }; | ||
export { starAsBindingId as starIdName }; | ||
export { starAsIndirectIdName } from './instn-star-props-nrml-indirect_FIXTURE.js'; | ||
export { starAsIndirectIdName as starAsIndirectIdName2 } from './instn-star-props-nrml-indirect_FIXTURE.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters