Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: test/mjsunit/harmony/module-parsing.js

Issue 10690043: Implement proper module linking. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed Michael's comments. Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 from 109 from
110 B 110 B
111 111
112 112
113 module Wrap { 113 module Wrap {
114 export 114 export
115 x 115 x
116 , 116 ,
117 y 117 y
118 118
119 var
120 x
121 ,
122 y
123
119 export 124 export
120 var 125 var
121 v1 = 1 126 v1 = 1
122 127
123 export 128 export
124 let 129 let
125 v2 = 2 130 v2 = 2
126 131
127 export 132 export
128 const 133 const
(...skipping 21 matching lines...) Expand all
150 155
151 var module 156 var module
152 module = {} 157 module = {}
153 module["a"] = 6 158 module["a"] = 6
154 function module() {} 159 function module() {}
155 function f(module) { return module } 160 function f(module) { return module }
156 try {} catch (module) {} 161 try {} catch (module) {}
157 162
158 module 163 module
159 v = 20 164 v = 20
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698