Search Issue Tracker

Won't Fix

Votes

0

Found in

2017.2.0p2

Issue ID

977525

Regression

No

Warning not accounting for the first variable when multiple variables are listed after Type declaration

Scripting

-

Steps to reproduce:
1. Open attached project "FaultyWarning"
2. Open Scene "Scene"
3. RMB click on Script "Repro.cs"->Reimport
4. Check the Console

Expected result: all variables are listed in the warning
Actual result: the first one is missing

Reproducible with: 5.6.0f3, 2017.2.0p2, 2018.1.0a6

==========

Resolution:

This is an issue with the Mono C# compiler. I am filed an issue upstream: https://github.com/mono/mono/issues/7357

If they address it I'll incorporate the fix. However, we are also planning to migrate to Roslyn soon where this bug is not present. Given that, I am resolving this bug currently as Postponed for the Roslyn migration.

Comments (2)

  1. CarolRogers

    Jul 16, 2020 07:27

    such forums are very necessary to have and they are very helpful for new people. a forum made by https://www.abdulghaffar.com/ has some excellent question-answer session. This has and will be helping such individuals.

  2. CarolRogers

    Jul 10, 2020 10:40

    I don't understand this accounting problem completely. I know a few tax experts working at https://taxfyle.com/, and I will share this blog post with them. They'll be able to explain this to me in a normal fashion.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.