Jump to content
  • Advertisement
  • entries
    359
  • comments
    237
  • views
    189653

Tangent: Little fixes.

Sign in to follow this  
Telastyn

204 views

A number of little bug fixes tonight. A little added functionality.

This used to be broken, but now works:


public class int{
public this is even => bool { ... }
}




Name resolution on .NET types failed if I tried to do it early on in compilation. (fixed)
Making a method group of 'this' methods didn't properly include the instance when invoked (fixed)

And now that statics work, I added the capability to the .NET importer to try and import static members of a type. It doesn't work yet for the built in types (int/string/float). Mostly I did it to get the Console goodness available. The importer can't deal with the param modifier so only the one arg Console.WriteLines get into the environment. Also missing is operator overloads. Still, a lot more programs become viable now that Tangent apps can read user input (though without meaningful string manipulation, it's still rather hamstrung).
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!