@@ -1279,16 +1279,16 @@ export function createBoundServerReference<A: Iterable<any>, T>(
12791279 const location = metaData . location ;
12801280 if ( location ) {
12811281 const functionName = metaData . name || '' ;
1282- const [ , filename, , , enclosingLine , enclosingCol ] = location ;
1282+ const [ , filename, line , col ] = location ;
12831283 const env = metaData . env || 'Server' ;
12841284 const sourceMap =
12851285 findSourceMapURL == null ? null : findSourceMapURL ( filename , env ) ;
12861286 action = createFakeServerFunction (
12871287 functionName ,
12881288 filename ,
12891289 sourceMap ,
1290- enclosingLine ,
1291- enclosingCol ,
1290+ line ,
1291+ col ,
12921292 env ,
12931293 action ,
12941294 ) ;
@@ -1375,7 +1375,7 @@ export function createServerReference<A: Iterable<any>, T>(
13751375 // multiple passes of compilation as long as we can find the final source map.
13761376 const location = parseStackLocation ( new Error ( 'react-stack-top-frame' ) ) ;
13771377 if ( location !== null ) {
1378- const [ , filename , , , line , col ] = location ;
1378+ const [ , filename , line , col ] = location ;
13791379 // While the environment that the Server Reference points to can be
13801380 // in any environment, what matters here is where the compiled source
13811381 // is from and that's in the currently executing environment. We hard
0 commit comments