@@ -106,9 +106,7 @@ var formatter = {
106106 } else if ( ( recordVariant = x [ Symbol . for ( 'BsVariant' ) ] ) !== undefined ) {
107107 return variantPreview ( x , recordVariant )
108108 } else if ( isOCamlExceptionOrExtension ( x ) ) {
109- return [ 'div' , { } , `${ x [ 0 ] [ 0 ] } (…)` ]
110- } else if ( ( recordModule = x [ Symbol . for ( 'BsLocalModule' ) ] ) !== undefined ) {
111- return [ 'div' , { } , 'Module' ]
109+ return [ 'div' , { } , `${ x [ 0 ] [ 0 ] } (…)` ]
112110 } else if ( ( recordPolyVar = x [ Symbol . for ( 'BsPolyVar' ) ] ) !== undefined ) {
113111 return [ 'div' , { } , `\`${ recordPolyVar } #${ x [ 0 ] } ` ]
114112 }
@@ -125,8 +123,6 @@ var formatter = {
125123 return recordVariant
126124 } else if ( isOCamlExceptionOrExtension ( x ) ) {
127125 return true
128- } else if ( ( recordModule = x [ Symbol . for ( 'BsLocalModule' ) ] ) !== undefined ) {
129- return true
130126 } else if ( ( recordPolyVar = x [ Symbol . for ( 'BsPolyVar' ) ] ) !== undefined ) {
131127 return true
132128 }
@@ -199,13 +195,6 @@ function simpleVariant(meta, xs) {
199195 } ) ;
200196}
201197
202- function localModule ( meta , xs ) {
203- setupOnce ( /* () */ 0 ) ;
204- return Object . defineProperty ( xs , Symbol . for ( "BsLocalModule" ) , {
205- value : meta
206- } ) ;
207- }
208-
209198function polyVar ( meta , xs ) {
210199 setupOnce ( /* () */ 0 ) ;
211200 return Object . defineProperty ( xs , Symbol . for ( "BsPolyVar" ) , {
@@ -219,6 +208,5 @@ exports.__ = __;
219208exports . record = record ;
220209exports . variant = variant ;
221210exports . simpleVariant = simpleVariant ;
222- exports . localModule = localModule ;
223211exports . polyVar = polyVar ;
224212/* No side effect */
0 commit comments