Skip to content

The BigInt class does not have a const constructor #33893

Open
@jacob314

Description

@jacob314

The BigInt class lacks a const constructor. This causes problems porting some Dart 1 code that used > 64 bit ints to Dart 2 as const values have to stop being const.

@jcollins-g has more details on the challenges this causes making the rpc library work with Dart 2.

Metadata

Metadata

Labels

area-core-librarySDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.library-coretype-enhancementA request for a change that isn't a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions