Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object.runtimeType returns undefined #15917

Closed
DartBot opened this issue Jan 6, 2014 · 1 comment
Closed

Object.runtimeType returns undefined #15917

DartBot opened this issue Jan 6, 2014 · 1 comment
Labels
area-web Issues related to Dart Web. P2 A bug or feature request we're likely to work on type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) web-dart2js

Comments

@DartBot
Copy link

DartBot commented Jan 6, 2014

This issue was originally filed by mrand01...@gmail.com


What steps will reproduce the problem?

  1. Create an object.
  2. Print the output of object.runtimeType

What is the expected output? What do you see instead?
I expect to see "Object," but instead I see "undefined"

What version of the product are you using? On what operating system?
Dart Editor version 1.1.0.dev_05_00 (DEV)
Dart SDK version 1.1.0-dev.5.0
Mac OS X 10.9.1

Please provide any additional information below.
It looks like this is failing in js_rti.dart in the "getRuntimeTypeString"


Attachment:
test.dart (225 Bytes)

@rakudrama
Copy link
Member

We should add a test for Object to tests/language/first_class_types_literals_test.dart


cc @karlklose.
Removed Priority-Unassigned label.
Added Priority-Medium, Area-Dart2JS, Triaged labels.

@kevmoo kevmoo added P2 A bug or feature request we're likely to work on type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) and removed triaged labels Mar 1, 2016
@vsmenon vsmenon added the area-web Issues related to Dart Web. label Jul 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-web Issues related to Dart Web. P2 A bug or feature request we're likely to work on type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) web-dart2js
Projects
None yet
Development

No branches or pull requests

4 participants