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.

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.