mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
104 lines
4.3 KiB
Plaintext
104 lines
4.3 KiB
Plaintext
//// [tests/cases/compiler/extendedUnicodePlaneIdentifiers.ts] ////
|
||
|
||
=== extendedUnicodePlaneIdentifiers.ts ===
|
||
const đ = 4;
|
||
>đ : Symbol(đ, Decl(extendedUnicodePlaneIdentifiers.ts, 0, 5))
|
||
|
||
const đ = 5;
|
||
>đ : Symbol(đ, Decl(extendedUnicodePlaneIdentifiers.ts, 1, 5))
|
||
|
||
console.log(đ + đ); // 9
|
||
>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --))
|
||
>console : Symbol(console, Decl(lib.dom.d.ts, --, --))
|
||
>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --))
|
||
>đ : Symbol(đ, Decl(extendedUnicodePlaneIdentifiers.ts, 1, 5))
|
||
>đ : Symbol(đ, Decl(extendedUnicodePlaneIdentifiers.ts, 0, 5))
|
||
|
||
class K {
|
||
>K : Symbol(K, Decl(extendedUnicodePlaneIdentifiers.ts, 2, 21))
|
||
|
||
#đ = 4;
|
||
>#đ : Symbol(K.#đ, Decl(extendedUnicodePlaneIdentifiers.ts, 4, 9))
|
||
|
||
#đ = 5;
|
||
>#đ : Symbol(K.#đ, Decl(extendedUnicodePlaneIdentifiers.ts, 5, 12))
|
||
}
|
||
|
||
// lower 8 bits look like 'a'
|
||
const ᥠ= 6;
|
||
>ᥠ: Symbol(áĄ, Decl(extendedUnicodePlaneIdentifiers.ts, 10, 5))
|
||
|
||
console.log(ᥠ** áĄ);
|
||
>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --))
|
||
>console : Symbol(console, Decl(lib.dom.d.ts, --, --))
|
||
>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --))
|
||
>ᥠ: Symbol(áĄ, Decl(extendedUnicodePlaneIdentifiers.ts, 10, 5))
|
||
>ᥠ: Symbol(áĄ, Decl(extendedUnicodePlaneIdentifiers.ts, 10, 5))
|
||
|
||
// lower 8 bits aren't a valid unicode character
|
||
const á = 7;
|
||
>á : Symbol(á, Decl(extendedUnicodePlaneIdentifiers.ts, 14, 5))
|
||
|
||
console.log(á ** á);
|
||
>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --))
|
||
>console : Symbol(console, Decl(lib.dom.d.ts, --, --))
|
||
>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --))
|
||
>á : Symbol(á, Decl(extendedUnicodePlaneIdentifiers.ts, 14, 5))
|
||
>á : Symbol(á, Decl(extendedUnicodePlaneIdentifiers.ts, 14, 5))
|
||
|
||
// a mix, for good measure
|
||
const ááĄđ = 7;
|
||
>ááĄđ : Symbol(ááĄđ, Decl(extendedUnicodePlaneIdentifiers.ts, 18, 5))
|
||
|
||
console.log(ááĄđ ** ááĄđ);
|
||
>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --))
|
||
>console : Symbol(console, Decl(lib.dom.d.ts, --, --))
|
||
>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --))
|
||
>ááĄđ : Symbol(ááĄđ, Decl(extendedUnicodePlaneIdentifiers.ts, 18, 5))
|
||
>ááĄđ : Symbol(ááĄđ, Decl(extendedUnicodePlaneIdentifiers.ts, 18, 5))
|
||
|
||
const áĄđá = 7;
|
||
>áĄđá : Symbol(áĄđá, Decl(extendedUnicodePlaneIdentifiers.ts, 21, 5))
|
||
|
||
console.log(áĄđá ** áĄđá);
|
||
>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --))
|
||
>console : Symbol(console, Decl(lib.dom.d.ts, --, --))
|
||
>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --))
|
||
>áĄđá : Symbol(áĄđá, Decl(extendedUnicodePlaneIdentifiers.ts, 21, 5))
|
||
>áĄđá : Symbol(áĄđá, Decl(extendedUnicodePlaneIdentifiers.ts, 21, 5))
|
||
|
||
const đáᥠ= 7;
|
||
>đáᥠ: Symbol(đááĄ, Decl(extendedUnicodePlaneIdentifiers.ts, 24, 5))
|
||
|
||
console.log(đáᥠ** đááĄ);
|
||
>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --))
|
||
>console : Symbol(console, Decl(lib.dom.d.ts, --, --))
|
||
>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --))
|
||
>đáᥠ: Symbol(đááĄ, Decl(extendedUnicodePlaneIdentifiers.ts, 24, 5))
|
||
>đáᥠ: Symbol(đááĄ, Decl(extendedUnicodePlaneIdentifiers.ts, 24, 5))
|
||
|
||
const đąđŽđľđľđ¸ = "đđ¸đťđľđ";
|
||
>đąđŽđľđľđ¸ : Symbol(đąđŽđľđľđ¸, Decl(extendedUnicodePlaneIdentifiers.ts, 27, 5))
|
||
|
||
const ⹯⹹ = "ok"; // BMP
|
||
>⹯⹹ : Symbol(⹯⹹, Decl(extendedUnicodePlaneIdentifiers.ts, 29, 5))
|
||
|
||
const đ¸đšđş = "ok"; // SMP
|
||
>đ¸đšđş : Symbol(đ¸đšđş, Decl(extendedUnicodePlaneIdentifiers.ts, 31, 5))
|
||
|
||
const đĄđĄŽđĄŻ = "ok"; // SIP
|
||
>đĄđĄŽđĄŻ : Symbol(đĄđĄŽđĄŻ, Decl(extendedUnicodePlaneIdentifiers.ts, 33, 5))
|
||
|
||
const đĄđşâąąđŽ = "ok";
|
||
>đĄđşâąąđŽ : Symbol(đĄđşâąąđŽ, Decl(extendedUnicodePlaneIdentifiers.ts, 35, 5))
|
||
|
||
const đşâąąđŽđĄ = "ok";
|
||
>đşâąąđŽđĄ : Symbol(đşâąąđŽđĄ, Decl(extendedUnicodePlaneIdentifiers.ts, 37, 5))
|
||
|
||
const âąąđŽđĄđş = "ok";
|
||
>âąąđŽđĄđş : Symbol(âąąđŽđĄđş, Decl(extendedUnicodePlaneIdentifiers.ts, 39, 5))
|
||
|
||
const đŽđĄđşâąą = "ok";
|
||
>đŽđĄđşâąą : Symbol(đŽđĄđşâąą, Decl(extendedUnicodePlaneIdentifiers.ts, 41, 5))
|
||
|