Search Unity

Internal compiler error?

Discussion in 'Editor & General Support' started by Mikeysee, Apr 27, 2014.

  1. Mikeysee

    Mikeysee

    Joined:
    Oct 14, 2013
    Posts:
    155
    Hi,

    Im trying to write some extension method helpers for Tasks with Parse but i'm getting internal compiler errors. I have reduced it to this simple example.

    Create a blank project, include the Parse Unity SDK and this single script:

    And you get the following compiler error:

    Download the project: https://www.dropbox.com/s/5w6sp1ne275piso/CompilerCrashTest.zip
     
  2. Mikeysee

    Mikeysee

    Joined:
    Oct 14, 2013
    Posts:
    155
  3. azrijamil

    azrijamil

    Joined:
    Aug 31, 2014
    Posts:
    8
    Can you provide the final example, i got confused from your blog example.
     
  4. Mikeysee

    Mikeysee

    Joined:
    Oct 14, 2013
    Posts:
    155
    Its pretty simple, just split up your Lambda expressions from the method you are passing them into. It seems the mono compiler doesnt like you doing it all in one step sometimes.