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

Dartc crashes when function is used in the left-hand side of an assignment #966

Closed
DartBot opened this issue Dec 26, 2011 · 3 comments
Closed

Comments

@DartBot
Copy link

DartBot commented Dec 26, 2011

This issue was originally filed by [email protected]


What steps will reproduce the problem?
Run the following test:
double id1(int a1, [double x1 = 1.0]){
  return a1*x1;
}

main() {
    id1 = null;
}

What is the expected output? What do you see instead?
dartc crashes

What version of the product are you using? On what operating system?
dartc r2810, Ubuntu 10.04

Please provide any additional information below.

@dgrove
Copy link
Contributor

dgrove commented Jan 2, 2012

Added Area-Compiler, Triaged labels.

@DartBot
Copy link
Author

DartBot commented Jan 9, 2012

This comment was originally written by [email protected]


Set owner to [email protected].
Added Accepted label.

@DartBot
Copy link
Author

DartBot commented Jan 10, 2012

This comment was originally written by [email protected]


http://codereview.chromium.org/9158014/

Committed as r3154


Added Fixed label.

dart-bot pushed a commit that referenced this issue Nov 19, 2020
2020-11-19 [email protected] #926.Add Platform.executableArguments to Process.run() command to not to fail on --enable-assert configuration
2020-11-19 [email protected] #926.Add Platform.executableArguments to Process.run() command to not to fail on --enable-assert configuration
2020-11-18 [email protected] Fixes #966. Move certificates to RawSecureServerSocket directory
2020-11-18 [email protected] #926. Fixed test that fail on precompiled environment in a strong mode
2020-11-17 [email protected] Fixes #951. Remove excessive @static-warning
2020-11-17 [email protected] Fixes #946: LanguageFeatures/Instantiate-to-bound/nonfunction_typedef tests updated according to the SDK changes, missing tests added.
2020-11-17 [email protected] #932. Some HttpRequest tests fixed to work well with cross origin requests
2020-11-16 [email protected] Process kill test fixed to work on different platforms
2020-11-16 [email protected] External variable test that expects compile time error on dart2js added
2020-11-13 [email protected] Fixes #926. Remove "--enable-experiment=non-nullable" option from script that runs another process
2020-11-12 [email protected] #926. File lock checking tests rewritten to not to fail on precompiled environment. Second part
2020-11-12 [email protected] Fixes #602: Missing issue tags added.
2020-11-11 [email protected] #926. File lock checking tests rewritten to not to fail on precompiled environment
2020-11-11 [email protected] Issue numbers added
2020-11-11 [email protected] Fixes #963: test expected result corrected, test template for all generic typedefs updated.
2020-11-10 [email protected] #926. ProcessSignal tests rewritten to not to fail on precompiled environment
2020-11-10 [email protected] #926. Process tests rewritten to not to fail on precompiled environment
2020-11-10 [email protected] #961. Process tests rewritten to not to use process_test tool
2020-11-10 [email protected] Fixes #602: Missing Issue tag added.
2020-11-10 [email protected] Fixes #960. Null safety execution modes renamed and mentions of obsolete checked mode removed
2020-11-10 [email protected] Remove wrong error expectations
2020-11-09 [email protected] Fixes #962. Change CFE error messages expectations
2020-11-08 [email protected] Fixes #602: New tests for least and greatest closures added.

Cq-Include-Trybots: dart/try:analyzer-nnbd-linux-release-try,dart2js-nnbd-linux-x64-chrome-try,ddc-nnbd-linux-release-chrome-try,front-end-nnbd-win-release-x64-try,vm-kernel-nnbd-linux-release-x64-try,vm-kernel-nnbd-win-release-x64-try,vm-kernel-precomp-nnbd-linux-release-x64-try,vm-kernel-precomp-nnbd-win-release-x64-try
Change-Id: I7aff067ec96f762490de15daa20c40dff2b0ae96
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/172940
Reviewed-by: William Hesse <[email protected]>
copybara-service bot pushed a commit that referenced this issue Jun 20, 2023
… webdev

Revisions updated by `dart tools/rev_sdk_deps.dart`.

bazel_worker (https://github.com/dart-lang/bazel_worker/compare/c14a268..f7b714e):
  f7b714e  2023-06-16  Jacob MacDonald  add firehose publishing workflow (#76)
  0743f11  2023-06-16  Parker Lougheed  Require protobuf 3.0.0 and prepare for 1.0.3 release (#75)

dartdoc (https://github.com/dart-lang/dartdoc/compare/5799424..793d575):
  793d575d  2023-06-14  Sam Rawlins  Remove unused coverage feature (#3444)
  19ad21a4  2023-06-14  Parker Lougheed  Replace `@sealed` meta usage with keyword (#3445)
  8e9d89e3  2023-06-12  Sam Rawlins  Remove all `@deprecated` elements. (#3250)
  2019791c  2023-06-12  dependabot[bot]  Bump actions/checkout from 3.5.2 to 3.5.3 (#3442)
  d34c7067  2023-06-12  dependabot[bot]  Bump github/codeql-action from 2.3.6 to 2.13.4 (#3443)

http (https://github.com/dart-lang/http/compare/ba7eb60..8c25057):
  8c25057  2023-06-16  Nate Bosch  Unskip a skipped test (#966)

protobuf (https://github.com/dart-lang/protobuf/compare/a9bf79f..e76bd74):
  e76bd74  2023-06-19  Ömer Sinan Ağacan  Remove protoc_plugin exe from repo, update .gitignore (#851)
  4b71e60  2023-06-16  Ömer Sinan Ağacan  Fix a change in protoc_plugin changelog (#846)
  f4ffa1d  2023-06-16  Ömer Sinan Ağacan  Fix missing protobuf import in grpc files (#845)

source_maps (https://github.com/dart-lang/source_maps/compare/dd5b5cd..58eef30):
  58eef30  2023-06-12  Kevin Moore  Require Dart 3, update lints (#79)

tools (https://github.com/dart-lang/tools/compare/8d6e8b8..02b5cc5):
  02b5cc5  2023-06-16  Brian Wilkerson  Add documentation for server events (#115)
  698bfe8  2023-06-15  Elias Yishak  Introducing new `Event` class that can be send via `analytics.send(Event event)` (#114)

webdev (https://github.com/dart-lang/webdev/compare/81ae77a..b58edb7):
  b58edb7d  2023-06-16  Elliott Brooks  Fix the DCM workflow (#2147)
  1551fe6c  2023-06-16  Elliott Brooks  Wrap VM service API methods in an error handler to convert any exceptions into type `RPCError`
(#2144)
  06abe901  2023-06-14  Elliott Brooks  Add more tests to daily testing cron job (#2138)
  5cb2dcf6  2023-06-13  Elliott Brooks  Use new error codes from package:vm_service (#2141)

Change-Id: I6779c6d20fbc69e83848f469df3e0b4d21420a9a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/310322
Auto-Submit: Devon Carew <[email protected]>
Reviewed-by: Konstantin Shcheglov <[email protected]>
Commit-Queue: Devon Carew <[email protected]>
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants